Skip to content

Commit

Permalink
fix installing in multiarch images
Browse files Browse the repository at this point in the history
Co-Authored-By: Tom Smith <60435811+tjs145@users.noreply.github.com>
Co-Authored-By: Barry Attwater <85222749+Barry-RG@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 19, 2022
1 parent fb298a2 commit 4ac310a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ build: EDITION = flyway
build: PLATFORM = linux/arm/v7,linux/arm64/v8,linux/amd64
build:
-docker buildx rm multi_arch_builder
docker buildx create --name multi_arch_builder --driver-opt network=bridge --use
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --name multi_arch_builder --driver docker-container --driver-opt network=bridge --use
docker buildx build --target $(EDITION) --platform $(PLATFORM) --pull --build-arg FLYWAY_VERSION=$(VERSION) --build-arg FLYWAY_ARTIFACT_URL=$(URL) \
-t $(EDITION)/flyway:latest \
-t $(EDITION)/flyway:$(VERSION) \
Expand Down

0 comments on commit 4ac310a

Please sign in to comment.