File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM debian:jessie
2+ MAINTAINER Andy Neff <andyneff@users.noreply.github.com>
3+
4+ # Docker RUN example, pass in the git-lfs checkout copy you are working with
5+ LABEL RUN="docker run -v git-lfs-checkout-dir:/src -v repo_dir:/repo"
6+
7+ RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
8+ apt-get install -y git dpkg-dev dh-golang ruby-ronn curl
9+
10+ ARG GOLANG_VERSION=1.6.3
11+
12+ ENV GOROOT=/usr/local/go
13+
14+ RUN cd /usr/local && \
15+ curl -L -O https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
16+ tar zxf go${GOLANG_VERSION}.linux-amd64.tar.gz && \
17+ ln -s /usr/local/go/bin/go /usr/bin/go && \
18+ ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt
19+
20+ COPY debian_script.bsh /tmp/
21+
22+ CMD /tmp/debian_script.bsh
You can’t perform that action at this time.
0 commit comments