From f93be96a1331e45d59b931b0bbeaa6acf9ae6435 Mon Sep 17 00:00:00 2001 From: Bryan Davis Date: Tue, 17 Sep 2024 11:33:08 -0600 Subject: [PATCH] dev(Makefile): Force linux/amd64 runtime selection We want to support using Apple Silicon systems to develop Toolhub. Providing native arm64 container images in addition to amd64 images would be the most ideal solution, but a (hopefully) lower effort solution is to instruct Docker to prefer a amd64 runtime and correct any fallout from incompatibilities those images may have when running under a QEMU emulator. Change-Id: I94638a1fe97cbead88a184d45a3b951d98d69c3a --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bcd0c69..9a3f543 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ help: .PHONY: help start: .env ## Start the docker-compose stack - $(COMPOSE) up --build --detach + DOCKER_DEFAULT_PLATFORM=linux/amd64 $(COMPOSE) up --build --detach .PHONY: start stop: ## Stop the docker-compose stack