mirror of https://github.com/docker/docs.git
Merge pull request #330 from psftw/tweaks
Tweak Dockerfile for official image.
This commit is contained in:
commit
682633a7ef
|
@ -0,0 +1 @@
|
|||
.git
|
|
@ -1,10 +1,12 @@
|
|||
FROM golang:1.3
|
||||
|
||||
ADD . /go/src/github.com/docker/swarm
|
||||
COPY . /go/src/github.com/docker/swarm
|
||||
WORKDIR /go/src/github.com/docker/swarm
|
||||
|
||||
RUN go get github.com/tools/godep
|
||||
RUN godep go install
|
||||
ENV GOPATH $GOPATH:/go/src/github.com/docker/swarm/Godeps/_workspace
|
||||
RUN go install -v
|
||||
|
||||
EXPOSE 2375
|
||||
|
||||
ENTRYPOINT ["swarm"]
|
||||
CMD ["--help"]
|
||||
|
|
Loading…
Reference in New Issue