github.com/tompao/docker@v1.9.1/contrib/host-integration/Dockerfile.dev (about) 1 # 2 # This Dockerfile will create an image that allows to generate upstart and 3 # systemd scripts (more to come) 4 # 5 6 FROM ubuntu:12.10 7 MAINTAINER Guillaume J. Charmes <guillaume@docker.com> 8 9 RUN apt-get update && apt-get install -y wget git mercurial 10 11 # Install Go 12 RUN wget --no-check-certificate https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz -O go-1.1.2.tar.gz 13 RUN tar -xzvf go-1.1.2.tar.gz && mv /go /goroot 14 RUN mkdir /go 15 16 ENV GOROOT /goroot 17 ENV GOPATH /go 18 ENV PATH $GOROOT/bin:$PATH 19 20 RUN go get github.com/docker/docker && cd /go/src/github.com/docker/docker && git checkout v0.6.3 21 ADD manager.go /manager/ 22 RUN cd /manager && go build -o /usr/bin/manager 23 24 ENTRYPOINT ["/usr/bin/manager"] 25