From 6bf03cc540462cd4c7a438ff80742f1c52d4e800 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Sun, 29 Dec 2024 19:10:17 -0500 Subject: [PATCH] web-wasi-threads: FROM uses HOST_ARCH --- Makefile | 1 + web-wasi-threads/Dockerfile.in | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b26ab02..69552b1 100644 --- a/Makefile +++ b/Makefile @@ -170,6 +170,7 @@ web-wasi-threads: web-wasi web-wasi-threads/Dockerfile -t $(ORG)/web-wasi-threads:latest-$(HOST_ARCH) \ --build-arg IMAGE=$(ORG)/web-wasi-threads \ --build-arg VERSION=$(TAG) \ + --build-arg HOST_ARCH=$(HOST_ARCH) \ --build-arg VCS_REF=`git rev-parse --short HEAD` \ --build-arg VCS_URL=`git config --get remote.origin.url` \ --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ diff --git a/web-wasi-threads/Dockerfile.in b/web-wasi-threads/Dockerfile.in index 3f471ee..7a09eef 100644 --- a/web-wasi-threads/Dockerfile.in +++ b/web-wasi-threads/Dockerfile.in @@ -1,5 +1,6 @@ ARG ORG=dockcross -FROM ${ORG}/web-wasi:latest +ARG HOST_ARCH=amd64 +FROM ${ORG}/web-wasi:latest-${HOST_ARCH} LABEL maintainer="Matt McCormick matt@mmmccormick.com"