10 months ago
Our dockerfile pulls private images and builds on top of that, would love to know how to do that
32 Replies
10 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
10 months ago
They ask asking about private images that are defined via FROM in a Dockerfile, something we do not support.
10 months ago
yeah...
10 months ago
I might have a workaround on this but I would need to test it first
10 months ago
Yeah we will cache layers
so only the first build should be slow and subsequent builds will be very fast already
10 months ago
Yes, or if we cycle the builder that previously ran your build.
10 months ago
We don't have a global cache for builders yet.
10 months ago
I will try to put together my workaround, I'll test with GHCR
10 months ago
one min
10 months ago
my workaround didn't work
10 months ago
it was basically logging with the docker-cli on a step in the dockerfile before pulling the private image
10 months ago
had to give it a try