(3847) - Adding/updating Dockerfiles for ARM arch

This commit is contained in:
wileyj
2023-11-19 22:31:01 -08:00
parent b70dd00336
commit b3de84a78f
7 changed files with 57 additions and 2 deletions

View File

@@ -7,11 +7,12 @@ ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
ARG TARGETVARIANT
ARG REPO=stacks-network/stacks-blockchain
ARG REPO=stacks-network/stacks-core
RUN case ${TARGETARCH} in \
"amd64") BIN_ARCH=linux-musl-x64 ;; \
"arm64") BIN_ARCH=linux-musl-arm64 ;; \
"arm") BIN_ARCH=linux-musl-armv7 ;; \
"*") exit 1 ;; \
esac \
&& echo "wget -q https://github.com/${REPO}/releases/download/${TAG}/${BIN_ARCH}.zip -O /${BIN_ARCH}.zip" \