From 4cdcaf1d556800e7dbf5048c5292f0d6c65276b3 Mon Sep 17 00:00:00 2001 From: mickamy Date: Sat, 6 Jan 2024 08:49:51 +0900 Subject: [PATCH] make: fix order of base image pattern maching --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 80cc0f78..8b9046d4 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,10 @@ endif UBUNTU_VERSION = 18.04 -ifeq ($(filter $(ARCH),arm64 aarch64),) - BASE_IMAGE = arm64v8/ubuntu:$(UBUNTU_VERSION) -else ifeq ($(ARCH), x86_64) +ifeq ($(ARCH), x86_64) BASE_IMAGE = amd64/ubuntu:$(UBUNTU_VERSION) +else ifeq ($(filter $(ARCH),arm64 aarch64),) + BASE_IMAGE = arm64v8/ubuntu:$(UBUNTU_VERSION) else BASE_IMAGE = ubuntu:$(UBUNTU_VERSION) endif