mirror of
https://github.com/docker/docs.git
synced 2026-04-02 09:18:57 +07:00
Merge pull request #1033 from vieux/fix_static_go1.4
fix static compile with go 1.4
This commit is contained in:
@@ -4,7 +4,7 @@ COPY . /go/src/github.com/docker/swarm
|
||||
WORKDIR /go/src/github.com/docker/swarm
|
||||
|
||||
ENV GOPATH /go/src/github.com/docker/swarm/Godeps/_workspace:$GOPATH
|
||||
RUN CGO_ENABLED=0 go install -v -a -tags netgo -ldflags "-w -X github.com/docker/swarm/version.GITCOMMIT `git rev-parse --short HEAD`"
|
||||
RUN CGO_ENABLED=0 go install -v -a -tags netgo -installsuffix netgo -ldflags "-w -X github.com/docker/swarm/version.GITCOMMIT `git rev-parse --short HEAD`"
|
||||
|
||||
ENV SWARM_HOST :2375
|
||||
EXPOSE 2375
|
||||
|
||||
Reference in New Issue
Block a user