Skip to content

Commit 6384de1

Browse files
committed
Update to golang 1.11-3.
1 parent e8ddf70 commit 6384de1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ FROM centos:6
55

66
77

8+
RUN yum update -y
89
RUN yum install -y rpm-build rpmdevtools && rpmdev-setuptree
910
RUN rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO
1011
RUN curl -s https://mirror.go-repo.io/centos/go-repo.repo | tee /etc/yum.repos.d/go-repo.repo
11-
RUN yum install -y golang
12+
RUN yum install -y golang git
1213
RUN yum clean all
1314
RUN mkdir -p /gopath/bin
1415
ENV GOPATH /gopath
1516
ENV GOBIN /gopath/bin
1617
ENV PATH $PATH:$GOBIN
1718
RUN curl https://glide.sh/get | sh
18-
RUN yum install -y git
19+
RUN yum update -y

0 commit comments

Comments
 (0)