2016-05-19 13:34:17 +00:00
|
|
|
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/*
|
|
|
|
|
|
|
|
# install glide package management.
|
|
|
|
RUN go get github.com/Masterminds/glide && cd $GOPATH/src/github.com/Masterminds/glide && make install
|
|
|
|
|
2016-05-20 08:35:48 +00:00
|
|
|
RUN mkdir /app && mkdir -p $GOPATH/src/github.com/appleboy
|
|
|
|
RUN ln -sf /app $GOPATH/src/github.com/appleboy/gorush
|
|
|
|
|
2016-05-19 13:34:17 +00:00
|
|
|
WORKDIR $GOPATH/src/github.com/appleboy/gorush
|