mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-25 09:54:47 +01:00
2716c75ad5
Didn't notice it because vendor/ was already populated on my dev machine, but did notice it in Docker build. Docker build now consumes devsetup like regular user, so this should catch future problems. Remove remaining curl|shit functionality from lazy.sh (no checkout logic needed anymore). refs #35
17 lines
380 B
Docker
17 lines
380 B
Docker
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
|
|
RUN /tmp/lazy.sh devsetup
|
|
|
|
# prepare volume mount of git checkout to /zrepl
|
|
RUN mkdir -p /go/src/github.com/zrepl
|
|
RUN chmod -R 0777 /go
|
|
WORKDIR /go/src/github.com/zrepl/zrepl
|
|
|
|
|