Merge pull request #115 from appleboy/docker_build

fix docker build error.
This commit is contained in:
Bo-Yi Wu 2016-08-02 07:53:17 -05:00 committed by GitHub
commit c81a2158a5
1 changed files with 1 additions and 2 deletions

View File

@ -1,9 +1,8 @@
FROM golang:1.6.3-alpine FROM appleboy/golang-testing
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com> MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
ENV VERSION #VERSION# ENV VERSION #VERSION#
RUN apk --update add git make curl
RUN mkdir -p $GOPATH/src/github.com/appleboy/gorush RUN mkdir -p $GOPATH/src/github.com/appleboy/gorush
Add build.tar.gz $GOPATH/src/github.com/appleboy/gorush/ Add build.tar.gz $GOPATH/src/github.com/appleboy/gorush/
WORKDIR $GOPATH/src/github.com/appleboy/gorush WORKDIR $GOPATH/src/github.com/appleboy/gorush