Created
December 11, 2017 12:42
-
-
Save AdamSaleh/fe517a7ee370192936df42db5b696d72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM docker.io/fhwendy/jenkins-slave-base-centos7:latest | |
MAINTAINER Paul McCarthy <[email protected]> | |
ENV PATH=$PATH:/usr/local/go/bin:/workspace/bin | |
ENV GOPATH=/workspace/ | |
ENV [email protected] | |
ENV GIT_COMMITTER_NAME=asaleh | |
USER root | |
RUN curl -LO https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz && \ | |
tar -C /usr/local -xzf go1.7.linux-amd64.tar.gz && \ | |
rm go1.7.linux-amd64.tar.gz && \ | |
yum -y install make git | |
RUN go get -u github.com/kisielk/errcheck | |
RUN chown -R 1001:1001 /workspace | |
USER 1001 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment