Skip to content

Commit 567d23b

Browse files
committed
Auto generated branch for docker hub
1 parent c61fc0e commit 567d23b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Dockerfile

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

0 commit comments

Comments
 (0)