Skip to content

Commit

Permalink
support latest buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
zlianzhuang committed Jun 12, 2024
1 parent 7f75134 commit 1bfd6fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ format:

depends:
sudo pip install yapf paramiko kubernetes kopf
docker run --privileged --rm tonistiigi/binfmt --install all
docker run --privileged --rm tonistiigi/binfmt:master --install all
@echo "TODO ubuntu: apt install jq curl"
@echo "build helm-package need helm environment."
2 changes: 1 addition & 1 deletion image/common/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function get_build_cmd() {
docker buildx rm multi-platform
fi
# create a new builder instance
docker buildx create --use --name multi-platform --platform=linux/amd64,linux/arm64 > /dev/null
docker buildx create --use --bootstrap --name multi-platform --platform=linux/amd64,linux/arm64 > /dev/null

temp=($(echo $image | tr "/" " "))
if [ ${#temp[@]} == 1 ]; then
Expand Down

0 comments on commit 1bfd6fe

Please sign in to comment.