change glide installation in docker.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-07-11 14:35:47 +08:00
parent 1c20117b7d
commit 0c43ad2710
1 changed files with 2 additions and 2 deletions

View File

@ -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