Skip to content

Commit

Permalink
Fix link for go 1.15 download
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroaleman committed Aug 13, 2020
1 parent 929d7a3 commit e85dca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions projects/origin-release/golang-1.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
FROM centos:7

ENV VERSION=1.15.0 \
ENV VERSION=1.15 \
GOCACHE=/go/.cache \
GOARM=5 \
GOPATH=/go \
Expand All @@ -26,10 +26,8 @@ RUN yum install -y epel-release && \
git config --system user.name origin-release-container && \
git config --system user.email origin-release@redhat.com

ADD *.rpm /tmp/origin-rpm/
RUN yum install -y /tmp/origin-rpm/*.rpm && \
yum clean all && \
curl https://storage.googleapis.com/golang/go$VERSION.linux-$(uname -m | sed 's/x86_64/amd64/g').tar.gz | tar -C /usr/local -xzf - && \
RUN \
curl --fail --retry 3 -L https://golang.org/dl/go$VERSION.linux-amd64.tar.gz | tar -C /usr/local -xzf - && \
go get golang.org/x/tools/cmd/cover \
github.com/Masterminds/glide \
golang.org/x/tools/cmd/goimports \
Expand Down
Binary file not shown.

0 comments on commit e85dca4

Please sign in to comment.