Skip to content

Commit

Permalink
change glide installation in docker.
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jul 11, 2016
1 parent 1c20117 commit 0c43ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/golang/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c43ad2

Please sign in to comment.