-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7ea964
commit 461d2a2
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM google/golang:1.4 | ||
|
||
MAINTAINER Derek Collison <derek@apcera.com> | ||
|
||
COPY . /gopath/src/github.com/nats-io/gnatsd | ||
WORKDIR /gopath/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"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ ADD gnatsd /gnatsd | |
CMD [] | ||
ENTRYPOINT ["/gnatsd", "-p", "4222", "-m", "8333"] | ||
|
||
EXPOSE 4222 8333 | ||
EXPOSE 4222 8333 |