From fee34f23a418391b44770a18430e493986340f8a Mon Sep 17 00:00:00 2001 From: Gary H <26419401+Gary-H9@users.noreply.github.com> Date: Thu, 4 Apr 2024 09:08:59 +0100 Subject: [PATCH] Update to makefile --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index de2ffee..2a144d4 100644 --- a/Makefile +++ b/Makefile @@ -6,12 +6,9 @@ test: build build: @ARCH=`uname -m`; \ case $$ARCH in \ - aarch64) \ + aarch64 | arm64) \ echo "Building for aarch64 architecture"; \ - docker build --platform linux/aarch64 --file Dockerfile --tag $(IMAGE_NAME) . ;; \ - arm64) \ - echo "Building for ARM64 architecture"; \ - docker build --platform linux/arm64 --file Dockerfile --tag $(IMAGE_NAME) . ;; \ + docker build --platform linux/amd64 --file Dockerfile --tag $(IMAGE_NAME) . ;; \ *) \ echo "Architecture: $$ARCH"; \ docker build --file Dockerfile --tag $(IMAGE_NAME) . ;; \