We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ddf70 commit 6384de1Copy full SHA for 6384de1
Dockerfile
@@ -5,14 +5,15 @@ FROM centos:6
5
6
MAINTAINER [email protected]
7
8
+RUN yum update -y
9
RUN yum install -y rpm-build rpmdevtools && rpmdev-setuptree
10
RUN rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO
11
RUN curl -s https://mirror.go-repo.io/centos/go-repo.repo | tee /etc/yum.repos.d/go-repo.repo
-RUN yum install -y golang
12
+RUN yum install -y golang git
13
RUN yum clean all
14
RUN mkdir -p /gopath/bin
15
ENV GOPATH /gopath
16
ENV GOBIN /gopath/bin
17
ENV PATH $PATH:$GOBIN
18
RUN curl https://glide.sh/get | sh
-RUN yum install -y git
19
0 commit comments