chore: move architecture check to host container

This commit is contained in:
2025-01-23 22:56:02 +00:00
parent 36bcb97e81
commit 2bf4cfa8c3
2 changed files with 10 additions and 8 deletions

View File

@@ -2,13 +2,7 @@ FROM alpine:latest
ARG PRODUCT
ARG VERSION
RUN ARCH=$(uname -m) && \
if [ "$ARCH" = "x86_64" ]; then \
ARCH="amd64"; \
elif [ "$ARCH" = "aarch64" ]; then \
ARCH="${ARCH}"; \
fi
ARG ARCH
RUN apk add --no-cache git npm bash