2017-11-18 19:11:14 +01:00
|
|
|
FROM golang:latest
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
python3-pip
|
|
|
|
|
|
|
|
ADD lazy.sh /tmp/lazy.sh
|
|
|
|
ADD docs/requirements.txt /tmp/requirements.txt
|
|
|
|
ENV ZREPL_LAZY_DOCS_REQPATH=/tmp/requirements.txt
|
2017-11-19 12:32:25 +01:00
|
|
|
RUN /tmp/lazy.sh devsetup
|
2017-11-18 19:11:14 +01:00
|
|
|
|
2017-11-19 12:32:25 +01:00
|
|
|
# prepare volume mount of git checkout to /zrepl
|
2017-12-29 22:25:15 +01:00
|
|
|
RUN mkdir -p /go/src/github.com/zrepl/zrepl
|
2017-11-19 12:32:25 +01:00
|
|
|
RUN chmod -R 0777 /go
|
2017-11-18 19:11:14 +01:00
|
|
|
WORKDIR /go/src/github.com/zrepl/zrepl
|
|
|
|
|
|
|
|
|