-
-
Save mikedewar/67669ab2d54bdea59fac to your computer and use it in GitHub Desktop.
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
FROM google/golang | |
RUN go get github.com/tools/godep | |
RUN go get github.com/bmizerany/assert | |
ADD . /gopath/src/github.com/bitly/nsq | |
RUN godep get github.com/bitly/nsq/... | |
RUN cd /gopath/src/github.com/bitly/nsq && godep restore |
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
FROM bitly/nsq | |
RUN cd /gopath/src/github.com/bitly/nsq/nsqadmin && godep go build . | |
EXPOSE 4171 | |
ENTRYPOINT ["/gopath/src/github.com/bitly/nsq/nsqadmin/nsqadmin"] |
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
FROM bitly/nsq | |
RUN cd /gopath/src/github.com/bitly/nsq/apps/nsqd && godep go build . | |
VOLUME ["/data"] | |
EXPOSE 4150 | |
EXPOSE 4151 | |
ENTRYPOINT ["/gopath/src/github.com/bitly/nsq/apps/nsqd/nsqd", "--data-path=/data"] |
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
FROM bitly/nsq | |
RUN cd /gopath/src/github.com/bitly/nsq/apps/nsqlookupd && godep go build . | |
EXPOSE 4160 | |
EXPOSE 4161 | |
ENTRYPOINT ["/gopath/src/github.com/bitly/nsq/apps/nsqlookupd/nsqlookupd"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment