From f9a0ddd98ef1d40d1c76d2c84895693f82d779dd Mon Sep 17 00:00:00 2001 From: Weston Schmidt Date: Fri, 27 Oct 2017 15:58:47 -0700 Subject: [PATCH] Add the docker file used to build the RPMs on travis. --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..47025a2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +# This docker file was used to produce the docker image used to build the +# RPMs for the servers. + +FROM centos:6 + +MAINTAINER weston_schmidt@alumni.purdue.edu + +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 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