From c7c4c7497a67b83bd7961841e3655c7dd3eb8434 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 26 Jul 2020 13:51:16 -0500 Subject: [PATCH] docs: Added test multiarch build instruction --- BUILDING.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index 928315bd..7b26714c 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,5 +1,11 @@ Ensure buildx/BuildKit support is enabled and run: -``` +```shell script docker buildx build --platform=linux/arm64 --platform=linux/arm/v7 --platform=linux/amd64 --tag itzg/minecraft-server:multiarch --push . ``` + +To build for local testing, use: + +```shell script +docker buildx build --platform=linux/amd64 --tag mc-multiarch --load . +```