add to the repository the two Dockerfiles that I depend on,
make it explicit (with bash scripts) how the Dockerfiles are derived from their original sources, and
have CI validation that the Dockerfile generation scripts still work, and that the Dockerfiles don’t change. When the Dockerfiles change, it won’t break the building of the final Ruby image, and I (we?) can fix/patch the Dockerfile scripts at our own pace.
I got a bit worried about having a dependency on two other projects:
So I decided to