mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
Fix for CGO and 1.4
This commit is contained in:
@@ -2,8 +2,7 @@ FROM google/golang:1.4
|
||||
|
||||
MAINTAINER Derek Collison <derek@apcera.com>
|
||||
|
||||
# Note need CGO_ENABLED=0 go build -a -installsuffix cgo for 1.4
|
||||
RUN CGO_ENABLED=0 go get -a -ldflags '-s' github.com/apcera/gnatsd
|
||||
RUN CGO_ENABLED=0 go get -a -ldflags '-s' --installsuffix cgo github.com/apcera/gnatsd
|
||||
COPY Dockerfile.final /gopath/bin/Dockerfile
|
||||
|
||||
CMD docker build -t apcera/gnatsd /gopath/bin
|
||||
|
||||
Reference in New Issue
Block a user