Rewrite docker testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-05-19 21:34:17 +08:00
parent a918e55b6a
commit 87320ed011
5 changed files with 30 additions and 20 deletions

11
docker/golang/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
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
WORKDIR $GOPATH/src/github.com/appleboy/gorush