-
-
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
Derek Collison
committed
Jun 16, 2015
1 parent
c1537a5
commit 5a2898e
Showing
1 changed file
with
1 addition
and
2 deletions.
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 |
---|---|---|
|
@@ -2,8 +2,7 @@ FROM google/golang:1.4 | |
|
||
MAINTAINER Derek Collison <[email protected]> | ||
|
||
# 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 |