Use godep in Dockerfile
This commit is contained in:
parent
6a269bcede
commit
4242387403
@ -3,8 +3,10 @@ FROM golang:1.3
|
||||
COPY . /go/src/pgweb
|
||||
WORKDIR /go/src/pgweb
|
||||
|
||||
RUN touch Makefile
|
||||
RUN make setup
|
||||
RUN make dev
|
||||
RUN go get github.com/tools/godep
|
||||
|
||||
RUN godep restore && \
|
||||
godep go build && \
|
||||
godep go install
|
||||
|
||||
ENTRYPOINT ["pgweb"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user