Skip to content

Commit fc0bd14

Browse files
authored
chore: e2e dockerfile: use correct binary instead of compiling from source (#6024)
1 parent 13ad055 commit fc0bd14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

e2e/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ENV GOBIN /go/bin
1010
# Install Go, Git and other dependencies so we can run ginkgo
1111
RUN 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
1615
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
1817
RUN apk del go
1918

19+
ENV GOPROXY=direct
2020
RUN go install github.com/onsi/ginkgo/v2/ginkgo@latest
2121

2222
# Copy the binary

0 commit comments

Comments
 (0)