Skip to content

Commit

Permalink
Appropriately set GOARM on Alpine's armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Dec 23, 2019
1 parent 3f57232 commit 73558b6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions 1.12/alpine3.10/Dockerfile
Expand Up @@ -33,6 +33,7 @@ RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
armhf) export GOARM='6' ;; \
armv7) export GOARM='7' ;; \
x86) export GO386='387' ;; \
esac; \
\
Expand Down
1 change: 1 addition & 0 deletions 1.12/alpine3.11/Dockerfile
Expand Up @@ -33,6 +33,7 @@ RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
armhf) export GOARM='6' ;; \
armv7) export GOARM='7' ;; \
x86) export GO386='387' ;; \
esac; \
\
Expand Down
1 change: 1 addition & 0 deletions 1.13/alpine3.10/Dockerfile
Expand Up @@ -33,6 +33,7 @@ RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
armhf) export GOARM='6' ;; \
armv7) export GOARM='7' ;; \
x86) export GO386='387' ;; \
esac; \
\
Expand Down
1 change: 1 addition & 0 deletions 1.13/alpine3.11/Dockerfile
Expand Up @@ -33,6 +33,7 @@ RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
armhf) export GOARM='6' ;; \
armv7) export GOARM='7' ;; \
x86) export GO386='387' ;; \
esac; \
\
Expand Down
1 change: 1 addition & 0 deletions 1.14-rc/alpine3.11/Dockerfile
Expand Up @@ -33,6 +33,7 @@ RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
armhf) export GOARM='6' ;; \
armv7) export GOARM='7' ;; \
x86) export GO386='387' ;; \
esac; \
\
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-alpine.template
Expand Up @@ -33,6 +33,7 @@ RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
armhf) export GOARM='6' ;; \
armv7) export GOARM='7' ;; \
x86) export GO386='387' ;; \
esac; \
\
Expand Down

0 comments on commit 73558b6

Please sign in to comment.