-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix docker buildx plugin is missing #3141
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
base: master
Are you sure you want to change the base?
Conversation
ff27001 to
219db15
Compare
|
@mumoshu - appreciating your review here 🙏 |
|
fixes #2571 |
| RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ | ||
| && if [ "$ARCH" = "aarch64" ]; then export ARCH=arm64 ; fi \ | ||
| && if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "i386" ]; then export ARCH=amd64 ; fi \ | ||
| && mkdir -p /usr/libexec/docker/cli-plugins \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fails for me like mkdir: cannot create directory '/usr/libexec/docker': Permission denied, probably due to the preceding USER runner at L136!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mumoshu Sorry for the delay, should be fixed now :)
219db15 to
5b23eaf
Compare
|
+1 |
|
I got this error when I built the image with your changes and I tried to build an image using the image that I built my docker file like the following |
|
Is there a reason this didn't move forward? Also, is there a way to patch this myself with the helm chart? |
Fixes #3109
Code taken from actions/runner#2901 and slightly adjusted, thanks to @ajschmidt8
Only tested locally with the commands in my own image with summerwind image as a base.
Also I'm not sure if I need to use sudo somewhere (root vs rootless images).
I could not start the testing (maybe because of MacOS M1?), but will try to get them running.
It would help though if someone could run the tests on their machine.
Let me know if I can help with anything :)