2016-07-21 01:43:29 +00:00
|
|
|
FROM golang:1.6.3-alpine
|
2016-05-19 13:34:17 +00:00
|
|
|
|
|
|
|
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
|
|
|
|
|
|
|
|
RUN apk update \
|
2016-07-20 15:48:59 +00:00
|
|
|
&& apk add git make curl perl && rm -rf /var/cache/apk/*
|
2016-05-19 13:34:17 +00:00
|
|
|
|
|
|
|
# install glide package management.
|
2016-07-11 06:35:47 +00:00
|
|
|
RUN curl https://glide.sh/get | sh
|
2016-05-19 13:34:17 +00:00
|
|
|
|
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
|