2 months ago
Our dockerfile pulls private images and builds on top of that, would love to know how to do that
32 Replies
2 months ago
You'd have to be on the Pro plan to use private registries.
https://docs.railway.com/guides/services#deploying-a-private-docker-image
2 months ago
They ask asking about private images that are defined via FROM in a Dockerfile, something we do not support.
2 months ago
yeah…
2 months ago
I might have a workaround on this but I would need to test it first
2 months ago
Yeah we will cache layers
so only the first build should be slow and subsequent builds will be very fast already
2 months ago
Yes, or if we cycle the builder that previously ran your build.
2 months ago
We don't have a global cache for builders yet.
2 months ago
I will try to put together my workaround, I'll test with GHCR
2 months ago
one min
2 months ago
my workaround didn't work
2 months ago
it was basically logging with the docker-cli on a step in the dockerfile before pulling the private image
2 months ago
had to give it a try