mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 08:23:48 +02:00
Use godep in Dockerfile
This commit is contained in:
parent
43a0a46f47
commit
e2f85b6627
@ -10,13 +10,15 @@ RUN wget https://go.googlecode.com/files/go1.2.src.tar.gz && tar zxvf go1.2.src.
|
||||
ENV PATH $PATH:/go/bin:/gocode/bin
|
||||
ENV GOPATH /gocode
|
||||
|
||||
RUN go get github.com/tools/godep
|
||||
|
||||
RUN mkdir -p /gocode/src/github.com/drone
|
||||
|
||||
ADD . /gocode/src/github.com/drone/drone
|
||||
|
||||
WORKDIR /gocode/src/github.com/drone/drone
|
||||
|
||||
RUN make deps
|
||||
RUN godep restore
|
||||
RUN make
|
||||
RUN make install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user