Skip to content
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

Codify image name defaults #146

Open
jromero opened this issue Sep 10, 2020 · 0 comments
Open

Codify image name defaults #146

jromero opened this issue Sep 10, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jromero
Copy link
Member

jromero commented Sep 10, 2020

As a Platform implementer, it would be nice to codify the currently implicit contract surrounding defaults in image names.

As of this writing, the lifecycle uses GGCR registry parsing with WeakValidation which would set certain defaults as described below.

From GGCR:

For defaulting, we interpret "ubuntu" as "index.docker.io/library/ubuntu:latest" because we add the missing repo "library", the missing registry "index.docker.io", and the missing tag "latest".

This behaviour should be explicitly called out in the spec so that CNB Platforms can be assured that the behaviour would be applied regardless of any specific Lifecycle implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants