Skip to content

Commit

Permalink
Possible fix for multi-arch build failures
Browse files Browse the repository at this point in the history
Enables buildx in an attempt to resolve issue openzipkin#14
  • Loading branch information
llinder committed Sep 7, 2021
1 parent 6a2e102 commit fc45ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-bin/docker/docker_build
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ docker_args=$($(dirname "$0")/docker_args ${version})
# * It only supports one platform/arch on load https://github.com/docker/buildx/issues/59
# * It would pull Docker Hub for moby/buildkit or multiarch/qemu-user-static images, using up quota
echo "Building image ${docker_tag}"
DOCKER_BUILDKIT=0 docker build --pull ${docker_args} --tag ${docker_tag} .
DOCKER_BUILDKIT=1 docker build --pull ${docker_args} --tag ${docker_tag} .
2 changes: 1 addition & 1 deletion build-bin/docker/docker_push
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set -ue

docker_image=${1?docker_image is required, notably without a tag. Ex openzipkin/zipkin}
version=${2:-master}
export DOCKER_BUILDKIT=0
export DOCKER_BUILDKIT=1

case ${version} in
master )
Expand Down

0 comments on commit fc45ab2

Please sign in to comment.