Add support for private Docker registries in Dockerfile #18315
Labels
feature: prebuilds
feature: workspace-base-image
meta: stale
This issue/PR is stale and will be closed soon
team: team-engine
team: workspace
Issue belongs to the Workspace team
Is your feature request related to a problem? Please describe
Thanks to #8550, we're already able to use private Docker registries to pull images from in our
.gitpod.yml
:Unfortunately, like stated in the caveats of the current implementation, there's no support for using private registries in
Dockerfile
s:Since dev environments are often built with custom
Dockerfile
s, it would be great to have support for this, too:.gitpod.Dockerfile
.gitpod.yml
Describe the behaviour you'd like
Add support for using private registries in
Dockerfile
s which are used to built the gitpod container.Describe alternatives you've considered
Current alternative would be to prebuild the gitpod image and push it to a private registry. This can be quite cumbersome especially when trying new things.
Additional context
If interested in this feature, I'd really like to participate in any way!
The text was updated successfully, but these errors were encountered: