File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ ENV GOBIN /go/bin
1010# Install Go, Git and other dependencies so we can run ginkgo
1111RUN apk update && apk add bash gcc musl-dev openssl go git aws-cli jq
1212
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
1615ENV 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
1817RUN apk del go
1918
19+ ENV GOPROXY=direct
2020RUN go install github.com/onsi/ginkgo/v2/ginkgo@latest
2121
2222# Copy the binary
You can’t perform that action at this time.
0 commit comments