From 7f575c4dd7b24f174b192b0b8e92a54962ced0eb Mon Sep 17 00:00:00 2001 From: Umputun Date: Fri, 24 Sep 2021 16:17:47 -0500 Subject: [PATCH] add multiarch make target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 4b071a41..fe45304c 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,11 @@ bin: docker: docker build -t umputun/remark42 --build-arg SKIP_FRONTEND_TEST=true --build-arg SKIP_BACKEND_TEST=true . +dockerx: + docker buildx build --build-arg SKIP_FRONTEND_TEST=true --build-arg SKIP_BACKEND_TEST=true \ + --progress=plain --platform linux/amd64,linux/arm/v7,linux/arm64 \ + -t ghcr.io/umputun/remark42:master -t umputun/remark42:master . + release: docker build -f Dockerfile.artifacts --no-cache --pull -t remark42.bin . - @docker rm -f remark42.bin 2>/dev/null || exit 0