Skip to content

Commit

Permalink
[ADDED] Dockerfile [ci skip]
Browse files Browse the repository at this point in the history
This is a first step in getting a Docker image for NATS Streaming.
A repo will soon be created to generate the official image.
  • Loading branch information
kozlovic committed Aug 5, 2016
1 parent 43de40b commit 50698f1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.6.3

MAINTAINER Ivan Kozlovic <[email protected]>

COPY . /go/src/github.com/nats-io/nats-streaming-server
WORKDIR /go/src/github.com/nats-io/nats-streaming-server

RUN CGO_ENABLED=0 go install -v -a -tags netgo -installsuffix netgo -ldflags "-s -w -X github.com/nats-io/nats-streaming-server/version.GITCOMMIT=`git rev-parse --short HEAD`"

EXPOSE 4222 8222
ENTRYPOINT ["nats-streaming-server"]
CMD ["--help"]

0 comments on commit 50698f1

Please sign in to comment.