mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 11:04:42 -07:00
10 lines
294 B
Docker
10 lines
294 B
Docker
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
|
|
COPY Dockerfile.final /gopath/bin/Dockerfile
|
|
|
|
CMD docker build -t apcera/gnatsd /gopath/bin
|