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

Meaningful error when pushing a root docker image #2836

Merged
merged 3 commits into from
Aug 29, 2023

Conversation

danail-branekov
Copy link
Member

Is there a related GitHub Issue?

#2799

What is this change about?

Users should see a meaningful error when pushing a docker images that is configured to run as root

Does this PR introduce a breaking change?

No

Acceptance Steps

See #2799

Tag your pair, your PM, and/or team

@georgethebeatle

georgethebeatle and others added 3 commits August 29, 2023 15:08
This is how `ExposedPorts` are described in the OCI image config spec:
https://github.com/opencontainers/image-spec/blob/main/config.md

Co-authored-by: Danail Branekov <danailster@gmail.com>
In contrast to buildpack packages where Korifi creates the source image,
the source image for docker packages has been created by someone in
advance. Therefore Korifi should not try to clean it up on CFPackage
finalization.

Co-authored-by: Danail Branekov <danailster@gmail.com>
Fixes #2799

Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
@danail-branekov danail-branekov enabled auto-merge (rebase) August 29, 2023 15:12
@danail-branekov danail-branekov merged commit 7cc6cbb into main Aug 29, 2023
7 checks passed
@danail-branekov danail-branekov deleted the issues/2799-docker-root-error branch August 29, 2023 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants