File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM debian:wheezy
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 echo 'deb http://http.debian.net/debian wheezy-backports main' > /etc/apt/sources.list.d/wheezy-backports-main.list
8+
9+ RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
10+ apt-get install -y -t wheezy-backports git dpkg-dev dh-golang ruby-ronn curl
11+
12+ ARG GOLANG_VERSION=1.6.3
13+
14+ ENV GOROOT=/usr/local/go
15+
16+ RUN cd /usr/local && \
17+ curl -L -O https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
18+ tar zxf go${GOLANG_VERSION}.linux-amd64.tar.gz && \
19+ ln -s /usr/local/go/bin/go /usr/bin/go && \
20+ ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt
21+
22+ COPY debian_script.bsh /tmp/
23+
24+ CMD /tmp/debian_script.bsh
You can’t perform that action at this time.
0 commit comments