change glide installation in docker.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
1c20117b7d
commit
0c43ad2710
|
@ -3,10 +3,10 @@ FROM golang:1.6.2-alpine
|
|||
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
|
||||
|
||||
RUN apk update \
|
||||
&& apk add git make && rm -rf /var/cache/apk/*
|
||||
&& apk add git make curl && rm -rf /var/cache/apk/*
|
||||
|
||||
# install glide package management.
|
||||
RUN go get github.com/Masterminds/glide && cd $GOPATH/src/github.com/Masterminds/glide && make install
|
||||
RUN curl https://glide.sh/get | sh
|
||||
|
||||
RUN mkdir /app && mkdir -p $GOPATH/src/github.com/appleboy
|
||||
RUN ln -sf /app $GOPATH/src/github.com/appleboy/gorush
|
||||
|
|
Loading…
Reference in New Issue