Skip to content

Commit

Permalink
fix sudo support in cross-platform Docker instances
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Dec 18, 2024
1 parent 1277596 commit fbf03b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ fi
# For cross-platform support:
# cf https://github.com/multiarch/qemu-user-static
#sudo apt install qemu-user-static
#docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# credential=yes needed to get proper sudo support in cross-platform Docker instances
#docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
#docker buildx create --use
#docker buildx inspect --bootstrap
#docker buildx build $DOCKER_PLATFORM $BUILDARG -t "$DOCKER_IMAGE" --load .
Expand Down

0 comments on commit fbf03b9

Please sign in to comment.