Skip to content

Commit

Permalink
Dockerfile: Statically compile the swarm binary.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Luzzardi <[email protected]>
  • Loading branch information
aluzzardi committed Jan 31, 2015
1 parent b5cef2f commit a2203a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY . /go/src/github.com/docker/swarm
WORKDIR /go/src/github.com/docker/swarm

ENV GOPATH $GOPATH:/go/src/github.com/docker/swarm/Godeps/_workspace
RUN go install -v
RUN CGO_ENABLED=0 go install -v -a -tags netgo -ldflags '-w'

EXPOSE 2375

Expand Down

0 comments on commit a2203a9

Please sign in to comment.