mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6ed610fb80
So far, it looks like the declarations are not used, and so its safer not to confuse people into thinking they do something. Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
25 lines
718 B
Text
25 lines
718 B
Text
#
|
|
# This Dockerfile will create an image that allows to generate upstart and
|
|
# systemd scripts (more to come)
|
|
#
|
|
|
|
FROM ubuntu:12.10
|
|
MAINTAINER Guillaume J. Charmes <guillaume@docker.com>
|
|
|
|
RUN apt-get update && apt-get install -y wget git mercurial
|
|
|
|
# Install Go
|
|
RUN wget --no-check-certificate https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz -O go-1.1.2.tar.gz
|
|
RUN tar -xzvf go-1.1.2.tar.gz && mv /go /goroot
|
|
RUN mkdir /go
|
|
|
|
ENV GOROOT /goroot
|
|
ENV GOPATH /go
|
|
ENV PATH $GOROOT/bin:$PATH
|
|
|
|
RUN go get github.com/docker/docker && cd /go/src/github.com/docker/docker && git checkout v0.6.3
|
|
ADD manager.go /manager/
|
|
RUN cd /manager && go build -o /usr/bin/manager
|
|
|
|
ENTRYPOINT ["/usr/bin/manager"]
|
|
|