Skip to content

Commit

Permalink
Update go version to 1.12rc1 in prow-tests docker image (knative#485)
Browse files Browse the repository at this point in the history
A new feature in serving websockets need to use go1.12rc1 version. Instead of manually installing this version in serving repo, updating it in prow-tests image, so that all jobs use consistent go version
  • Loading branch information
chaodaiG authored and knative-prow-robot committed Feb 15, 2019
1 parent 9e149b9 commit 907e62c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions images/prow-tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ RUN docker-credential-gcr configure-docker
RUN apt-get install -y uuid-runtime # for uuidgen
RUN apt-get install -y rubygems # for mdl

# Update go version to 1.12rc1
RUN go get golang.org/dl/go1.12rc1
RUN go1.12rc1 download
RUN cp $(which go1.12rc1) $(which go)

# Extra tools through go get
RUN go get -u github.com/google/go-containerregistry/cmd/ko
RUN go get -u github.com/golang/dep/cmd/dep
Expand Down

0 comments on commit 907e62c

Please sign in to comment.