We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7e29a6 commit fe9834aCopy full SHA for fe9834a
Dockerfile
@@ -5,8 +5,8 @@ RUN apt-get update && apt-get install gcc -y
5
6
# install Golang
7
ENV GOPATH=/go
8
-ARG TARGETPLATFORM
9
-RUN wget -qO- "https://golang.org/dl/go1.15.2.linux-${TARGETPLATFORM##*/}.tar.gz" | tar -C /usr/local -xzf -
+ARG TARGETARCH
+RUN wget -qO- "https://golang.org/dl/go1.15.2.linux-${TARGETARCH}.tar.gz" | tar -C /usr/local -xzf -
10
ENV PATH="${PATH}:/usr/local/go/bin"
11
ENV GO111MODULE=on
12
0 commit comments