gorush/docker/Dockerfile.build

12 lines
194 B
Docker

FROM golang:1.6
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
RUN mkdir -p /tmp/build
Add build.tar.gz /tmp/build/
WORKDIR /tmp/build
RUN go get -v -d
RUN sh script/build.sh
CMD tar -czf - bin