File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
FROM google/golang:latest
2
2
3
- RUN go get -u github. com/tools/godep
4
- RUN go get -u github.com/bmizerany/assert
3
+ RUN curl -s https://raw.githubusercontent. com/pote/gpm/v1.2.3/bin/gpm > /usr/local/bin/gpm
4
+ RUN chmod +x /usr/local/bin/gpm
5
5
6
6
ADD . $GOPATH/src/github.com/bitly/nsq
7
- RUN godep get github.com/bitly/nsq/...
8
- RUN cd $GOPATH/src/ github.com/bitly/nsq && godep restore
7
+ RUN cd $GOPATH/src/ github.com/bitly/nsq && gpm install
8
+ RUN go get github.com/bitly/nsq/...
9
9
10
10
RUN cd $GOPATH/src/github.com/bitly/nsq && ./test.sh
Original file line number Diff line number Diff line change 1
1
FROM nsqio/nsq:latest
2
2
3
- RUN cd /gopath/src/github.com/bitly/nsq/apps/nsqd && godep go build .
3
+ RUN cd /gopath/src/github.com/bitly/nsq/apps/nsqd && go build .
4
4
VOLUME ["/data" ]
5
5
EXPOSE 4150
6
6
EXPOSE 4151
Original file line number Diff line number Diff line change 1
1
FROM nsqio/nsq:latest
2
2
3
- RUN cd /gopath/src/github.com/bitly/nsq/apps/nsqlookupd && godep go build .
3
+ RUN cd /gopath/src/github.com/bitly/nsq/apps/nsqlookupd && go build .
4
4
EXPOSE 4160
5
5
EXPOSE 4161
6
6
Original file line number Diff line number Diff line change 1
1
FROM nsqio/nsq:latest
2
2
3
- RUN cd /gopath/src/github.com/bitly/nsq/nsqadmin && godep go build .
3
+ RUN cd /gopath/src/github.com/bitly/nsq/nsqadmin && go build .
4
4
EXPOSE 4171
5
5
6
6
ENTRYPOINT ["/gopath/src/github.com/bitly/nsq/nsqadmin/nsqadmin" ]
You can’t perform that action at this time.
0 commit comments