From e747eb9284f643b3074bd3c69901a5ffb2e6152e Mon Sep 17 00:00:00 2001 From: Victor Lavaud Date: Thu, 14 Jan 2021 20:39:43 +0100 Subject: [PATCH] Add support for arm32v7 in Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 7cb47e01..3bbc2571 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ ADD . /app WORKDIR /app RUN set -ex \ && if [ "${ARCH}" = "amd64" ]; then export GOARCH=amd64; fi \ + && if [ "${ARCH}" = "arm32v7" ]; then export GOARCH=arm; fi \ && if [ "${ARCH}" = "arm64v8" ]; then export GOARCH=arm64; fi \ && echo "Compiling for $GOARCH" \ && go install -v . ./cmd/...