build: adjust wrong path of zrepl source dir in build.Dockerfile

was symlinking /zrepl to /go/src/github.com/zrepl/zrepl earlier, forgot
to change that apparently

see 47726ad877

refs #38
This commit is contained in:
Christian Schwarz 2017-12-29 22:25:15 +01:00
parent 61842988b9
commit 8473462adf
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ 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 mkdir -p /go/src/github.com/zrepl/zrepl
RUN chmod -R 0777 /go
WORKDIR /go/src/github.com/zrepl/zrepl

View File

@ -55,7 +55,7 @@ and serves as a reference for build dependencies and procedure:
cd zrepl
sudo docker build -t zrepl_build -f build.Dockerfile .
sudo docker run -it --rm \
-v "${PWD}:/zrepl" \
-v "${PWD}:/go/src/github.com/zrepl/zrepl" \
--user "$(id -u):$(id -g)" \
zrepl_build make vendordeps release