Skip to content

Commit 6e39c61

Browse files
committed
Auto generated branch for docker hub
1 parent c61fc0e commit 6e39c61

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Dockerfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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

0 commit comments

Comments
 (0)