Skip to content

Commit

Permalink
Add docker builder
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkfi committed Sep 7, 2015
1 parent 08a299b commit c53da63
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM golang:1.4.2-wheezy
MAINTAINER Karl Isenberg <[email protected]>

RUN echo "deb-src http://httpredir.debian.org/debian wheezy main" >> /etc/apt/sources.list && \
echo "deb-src http://httpredir.debian.org/debian wheezy-updates main" >> /etc/apt/sources.list && \
apt-get -yqq update && \
apt-get -yqq upgrade && \
DEBIAN_FRONTEND=noninteractive apt-get -yqq install --no-install-recommends \
build-essential git && \
apt-get -y clean

RUN go get github.com/tools/godep
RUN go get golang.org/x/tools/cmd/vet

VOLUME ${GOPATH}/src/github.com/karlkfi/probe

WORKDIR ${GOPATH}/src/github.com/karlkfi/probe

CMD ["make"]

0 comments on commit c53da63

Please sign in to comment.