From 6384de185842c205df5d9cbdf6db2125418ed2c3 Mon Sep 17 00:00:00 2001 From: Weston Schmidt Date: Wed, 2 Jan 2019 09:01:45 -0800 Subject: [PATCH] Update to golang 1.11-3. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 47025a2..7ac8a64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,14 +5,15 @@ FROM centos:6 MAINTAINER weston_schmidt@alumni.purdue.edu +RUN yum update -y RUN yum install -y rpm-build rpmdevtools && rpmdev-setuptree 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 yum install -y golang +RUN yum install -y golang git RUN yum clean all RUN mkdir -p /gopath/bin ENV GOPATH /gopath ENV GOBIN /gopath/bin ENV PATH $PATH:$GOBIN RUN curl https://glide.sh/get | sh -RUN yum install -y git +RUN yum update -y