web-wasi-threads: FROM uses HOST_ARCH

This commit is contained in:
Matt McCormick 2024-12-29 19:10:17 -05:00
parent 8cda4cf962
commit 6bf03cc540
2 changed files with 3 additions and 1 deletions
Makefile
web-wasi-threads

@ -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"` \

@ -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"