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

test: fix multi-sudo dockerfile #1284

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

crazy-max
Copy link
Member

relates to https://github.com/docker/build-push-action/actions/runs/12370695852/job/34525242942#step:6:314

#18 [linux/amd64 build 4/4] RUN sudo chown buildx. /log
#18 0.071 chown: unknown user buildx.
#18 ERROR: process "/bin/sh -c sudo chown buildx. /log" did not complete successfully: exit code: 1

#19 [linux/amd64->arm64 build 4/4] RUN sudo chown buildx. /log
#19 0.059 chown: unknown user buildx.
#19 ERROR: process "/bin/sh -c sudo chown buildx. /log" did not complete successfully: exit code: 1
------
 > [linux/amd64 build 4/4] RUN sudo chown buildx. /log:
0.071 chown: unknown user buildx.
------
------
 > [linux/amd64->arm64 build 4/4] RUN sudo chown buildx. /log:
0.059 chown: unknown user buildx.
------
multi-sudo.Dockerfile:15
--------------------
  13 |     
  14 |     USER buildx
  15 | >>> RUN sudo chown buildx. /log
  16 |     USER root
  17 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c sudo chown buildx. /log" did not complete successfully: exit code: 1

@crazy-max crazy-max requested a review from tonistiigi December 17, 2024 15:09
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the dockerfiles-pin-bases branch from 7a30017 to da5b6c7 Compare December 17, 2024 15:12
@crazy-max
Copy link
Member Author

Getting this one in to unblock other PRs

@crazy-max crazy-max merged commit bcc9f4a into docker:master Dec 17, 2024
63 checks passed
@crazy-max crazy-max deleted the dockerfiles-pin-bases branch December 17, 2024 15:18
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.

1 participant