Skip to content

Commit c4ec4a0

Browse files
authored
Merge pull request #384 from tariq1890/upd-go
Fix dockerfile arch selection
2 parents 2733661 + f40f436 commit c4ec4a0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

build/container/Dockerfile.centos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN set -eux; \
3131
case "${arch##*-}" in \
3232
x86_64 | amd64) ARCH='amd64' ;; \
3333
ppc64el | ppc64le) ARCH='ppc64le' ;; \
34-
aarch64) ARCH='arm64' ;; \
34+
aarch64 | arm64) ARCH='arm64' ;; \
3535
*) echo "unsupported architecture" ; exit 1 ;; \
3636
esac; \
3737
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \

build/container/Dockerfile.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN set -eux; \
3131
case "${arch##*-}" in \
3232
x86_64 | amd64) ARCH='amd64' ;; \
3333
ppc64el | ppc64le) ARCH='ppc64le' ;; \
34-
aarch64) ARCH='arm64' ;; \
34+
aarch64 | arm64) ARCH='arm64' ;; \
3535
*) echo "unsupported architecture" ; exit 1 ;; \
3636
esac; \
3737
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \

docker/Dockerfile.debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN set -eux; \
2222
case "${arch##*-}" in \
2323
x86_64 | amd64) ARCH='amd64' ;; \
2424
ppc64el | ppc64le) ARCH='ppc64le' ;; \
25-
aarch64) ARCH='arm64' ;; \
25+
aarch64 | arm64) ARCH='arm64' ;; \
2626
*) echo "unsupported architecture" ; exit 1 ;; \
2727
esac; \
2828
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \

docker/Dockerfile.opensuse-leap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN set -eux; \
1515
case "${arch##*-}" in \
1616
x86_64 | amd64) ARCH='amd64' ;; \
1717
ppc64el | ppc64le) ARCH='ppc64le' ;; \
18-
aarch64) ARCH='arm64' ;; \
18+
aarch64 | arm64) ARCH='arm64' ;; \
1919
*) echo "unsupported architecture"; exit 1 ;; \
2020
esac; \
2121
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \

docker/Dockerfile.rpm-yum

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN set -eux; \
3333
case "${arch##*-}" in \
3434
x86_64 | amd64) ARCH='amd64' ;; \
3535
ppc64el | ppc64le) ARCH='ppc64le' ;; \
36-
aarch64) ARCH='arm64' ;; \
36+
aarch64 | arm64) ARCH='arm64' ;; \
3737
*) echo "unsupported architecture"; exit 1 ;; \
3838
esac; \
3939
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \

docker/Dockerfile.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -eux; \
2020
case "${arch##*-}" in \
2121
x86_64 | amd64) ARCH='amd64' ;; \
2222
ppc64el | ppc64le) ARCH='ppc64le' ;; \
23-
aarch64) ARCH='arm64' ;; \
23+
aarch64 | arm64) ARCH='arm64' ;; \
2424
*) echo "unsupported architecture" ; exit 1 ;; \
2525
esac; \
2626
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \

0 commit comments

Comments
 (0)