Skip to content

fix(dogfood/Dockerfile): add explicit --chown to COPY directive #13569

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

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

johnstcn
Copy link
Member

Problem: when building dogfood/Dockerfile with envbuilder, /etc/sudoers.d/nopasswd was owned by coder:coder until I did this.

This may be a bug in kaniko, but I haven't been able to figure out an explicit test to reproduce it. For now I'm just adding an explicit --chown to the COPY directive.

@johnstcn johnstcn requested a review from deansheather June 13, 2024 13:39
@johnstcn johnstcn self-assigned this Jun 13, 2024
@johnstcn johnstcn changed the title fix(dogfood): Dockerfile: add explicit --chown to COPY directive fix(dogfood/Dockerfile): add explicit --chown to COPY directive Jun 13, 2024
@johnstcn johnstcn merged commit c587af7 into main Jun 13, 2024
26 checks passed
@johnstcn johnstcn deleted the cj/dogfood-dockerfile-copy-chown branch June 13, 2024 14:16
@github-actions github-actions bot locked and limited conversation to collaborators Jun 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants