gorush/docker/Dockerfile.testing

11 lines
265 B
Docker

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/status_test.go
RUN go get -v -d -t ./...