2015-07-12 17:57:20 +00:00
|
|
|
FROM debian:wheezy
|
|
|
|
MAINTAINER Andy Neff <andyneff@users.noreply.github.com>
|
|
|
|
|
|
|
|
#Docker RUN example, pass in the git-lfs checkout copy you are working with
|
2015-07-18 00:56:24 +00:00
|
|
|
LABEL RUN="docker run -v git-lfs-checkout-dir:/src -v repo_dir:/repo"
|
2015-07-12 17:57:20 +00:00
|
|
|
|
|
|
|
RUN echo 'deb http://http.debian.net/debian wheezy-backports main' > /etc/apt/sources.list.d/wheezy-backports-main.list
|
|
|
|
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
|
2015-09-11 06:57:39 +00:00
|
|
|
apt-get install -y -t wheezy-backports git dpkg-dev dh-golang ruby-ronn reprepro curl
|
|
|
|
|
|
|
|
ENV GOLANG_VERSION=[{GOLANG_VERSION}]
|
|
|
|
|
|
|
|
ENV GOROOT=/usr/local/go
|
|
|
|
|
|
|
|
RUN cd /usr/local && \
|
|
|
|
curl -L -O https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
|
|
|
|
tar zxf go${GOLANG_VERSION}.linux-amd64.tar.gz && \
|
|
|
|
ln -s /usr/local/go/bin/go /usr/bin/go && \
|
|
|
|
ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt
|
2015-07-12 17:57:20 +00:00
|
|
|
|
2015-07-30 04:04:30 +00:00
|
|
|
COPY git-lfs_debian_7.key debian_script.bsh distributions dpkg-package-gpg.bsh /tmp/
|
2015-07-17 17:07:00 +00:00
|
|
|
|
2015-07-22 03:47:01 +00:00
|
|
|
CMD /tmp/debian_script.bsh
|