-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ROCK base image registry configurable. #655
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What needs to get done
rockcraft.oci.Image
class needs extending to add configurable registry URL during theskopeo copy
of the base image to allow from pulling from non-ECR registries.Will probably need adding a top-level
rockcraft
argument and transparently propagating it down to the actual image URL composed here which later gets passed to theskopeo copy
command.Why it needs to get done
Although ECR is considerably more lenient than DockeHub in terms of data pull limits for unverified requests, it still has them, leading to errors like these:
Depending on the project being rock'd, these limits can be quite the nuisance.
The
canonical/harbor-rocks
repo for example defines rocks for 10 components x 3 versions x 2 architectures = 60 whole images, and it's virtually guaranteed that 2-3 of the build workflows will fail.It would be nice to be able to use a local registry mirror when
rockcraft build/pack
-ing.The text was updated successfully, but these errors were encountered: