mirror of
https://github.com/outbackdingo/xmidt.git
synced 2026-08-25 14:53:55 +00:00
Update to golang 1.11-3.
This commit is contained in:
+3
-2
@@ -5,14 +5,15 @@ FROM centos:6
|
|||||||
|
|
||||||
MAINTAINER [email protected]
|
MAINTAINER [email protected]
|
||||||
|
|
||||||
|
RUN yum update -y
|
||||||
RUN yum install -y rpm-build rpmdevtools && rpmdev-setuptree
|
RUN yum install -y rpm-build rpmdevtools && rpmdev-setuptree
|
||||||
RUN rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO
|
RUN rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO
|
||||||
RUN curl -s https://mirror.go-repo.io/centos/go-repo.repo | tee /etc/yum.repos.d/go-repo.repo
|
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
|
RUN yum install -y golang git
|
||||||
RUN yum clean all
|
RUN yum clean all
|
||||||
RUN mkdir -p /gopath/bin
|
RUN mkdir -p /gopath/bin
|
||||||
ENV GOPATH /gopath
|
ENV GOPATH /gopath
|
||||||
ENV GOBIN /gopath/bin
|
ENV GOBIN /gopath/bin
|
||||||
ENV PATH $PATH:$GOBIN
|
ENV PATH $PATH:$GOBIN
|
||||||
RUN curl https://glide.sh/get | sh
|
RUN curl https://glide.sh/get | sh
|
||||||
RUN yum install -y git
|
RUN yum update -y
|
||||||
|
|||||||
Reference in New Issue
Block a user