File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ ENV GOBIN /go/bin
10
10
# Install Go, Git and other dependencies so we can run ginkgo
11
11
RUN apk update && apk add bash gcc musl-dev openssl go git aws-cli jq
12
12
13
- # Upgrade go to $GOLANG_VERSION. The version that's available in the base image is "go1.13.15 linux/amd64" by default.
14
- RUN wget https://dl.google.com/go/go$GOLANG_VERSION.src.tar.gz && tar -C /usr/local -xzf go$GOLANG_VERSION.src.tar.gz
15
- RUN cd /usr/local/go/src && ./make.bash
13
+ # Upgrade go to $GOLANG_VERSION. The version that's available in the base image is older than what we need.
14
+ RUN wget https://dl.google.com/go/go$GOLANG_VERSION.linux-arm64.tar.gz && tar -C /usr/local -xzf go$GOLANG_VERSION.linux-arm64.tar.gz
16
15
ENV PATH=$PATH:/usr/local/go/bin
17
- RUN rm go$GOLANG_VERSION.src .tar.gz
16
+ RUN rm go$GOLANG_VERSION.linux-arm64 .tar.gz
18
17
RUN apk del go
19
18
19
+ ENV GOPROXY=direct
20
20
RUN go install github.com/onsi/ginkgo/v2/ginkgo@latest
21
21
22
22
# Copy the binary
You can’t perform that action at this time.
0 commit comments