gorush/docker/Dockerfile.testing

11 lines
255 B
Docker
Raw Normal View History

FROM golang:1.6
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
RUN mkdir -p /tmp/build
Add . /tmp/build/
WORKDIR /tmp/build
RUN sed -i"" -e "s/localhost/redis/g" config/config.yml
RUN sed -i"" -e "s/localhost/redis/g" gorush/*.go
RUN go get -v -d -t ./...