2016-04-11 06:10:46 +00:00
|
|
|
FROM golang:1.6
|
|
|
|
|
|
|
|
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
|
|
|
|
|
|
|
|
RUN mkdir -p /tmp/build
|
|
|
|
Add . /tmp/build/
|
|
|
|
WORKDIR /tmp/build
|
2016-05-03 12:39:24 +00:00
|
|
|
RUN sed -i"" -e "s/localhost/redis/g" config/config.yml
|
|
|
|
RUN sed -i"" -e "s/localhost/redis/g" gorush/*.go
|
2016-04-11 06:10:46 +00:00
|
|
|
RUN go get -v -d -t ./...
|