mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 02:07:59 -07:00
- Add linux/arm64 to cross compile script - Update .travis.yml to push builds on Go 1.8.x version - Update Dockerfile to Go 1.8.3 - Change Dockerfile.win64 to actually build all the builds that we would want to provide a Docker image for
13 lines
365 B
Docker
13 lines
365 B
Docker
FROM golang:1.8.3
|
|
|
|
MAINTAINER Derek Collison <derek@apcera.com>
|
|
|
|
COPY . /go/src/github.com/nats-io/gnatsd
|
|
WORKDIR /go/src/github.com/nats-io/gnatsd
|
|
|
|
RUN CGO_ENABLED=0 go install -v -a -tags netgo -installsuffix netgo -ldflags "-s -w -X github.com/nats-io/gnatsd/version.GITCOMMIT=`git rev-parse --short HEAD`"
|
|
|
|
EXPOSE 4222 8222
|
|
ENTRYPOINT ["gnatsd"]
|
|
CMD ["--help"]
|