From 618932bc7dbc6f86a3ea37ab082215551ad74ccf Mon Sep 17 00:00:00 2001 From: Blake Devcich Date: Wed, 12 Feb 2025 08:29:34 -0600 Subject: [PATCH] remove explicit setting of platform --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5677254..f8d6ea7 100644 --- a/Makefile +++ b/Makefile @@ -24,20 +24,16 @@ IMAGE_TAG_BASE ?= ghcr.io/nearnodeflash/nnf-mfu # tools. (i.e. podman) CONTAINER_TOOL ?= docker -# Only support linux/amd64 builds. This reduces complexity with installing -# lustre, which is an option enabled for mpifileutils. -PLATFORM ?= linux/amd64 - docker-build: VERSION ?= $(shell cat .version) docker-build: TARGET ?= production docker-build: .version - ${CONTAINER_TOOL} build --platform=$(PLATFORM) --target $(TARGET) -t $(IMAGE_TAG_BASE):$(VERSION) . + ${CONTAINER_TOOL} build --target $(TARGET) -t $(IMAGE_TAG_BASE):$(VERSION) . docker-build-debug: VERSION ?= $(shell cat .version) docker-build-debug: TARGET ?= debug docker-build-debug: IMAGE_TAG_BASE := $(IMAGE_TAG_BASE)-debug docker-build-debug: .version - ${CONTAINER_TOOL} build --platform=$(PLATFORM) --target $(TARGET) -t $(IMAGE_TAG_BASE):$(VERSION) . + ${CONTAINER_TOOL} build --target $(TARGET) -t $(IMAGE_TAG_BASE):$(VERSION) . docker-push: VERSION ?= $(shell cat .version) docker-push: .version