Skip to content

Instantly share code, notes, and snippets.

@AdamSaleh
Created December 11, 2017 12:42
Show Gist options
  • Save AdamSaleh/fe517a7ee370192936df42db5b696d72 to your computer and use it in GitHub Desktop.
Save AdamSaleh/fe517a7ee370192936df42db5b696d72 to your computer and use it in GitHub Desktop.
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