mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 08:23:50 +01:00
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:
parent
61842988b9
commit
8473462adf
@ -9,7 +9,7 @@ ENV ZREPL_LAZY_DOCS_REQPATH=/tmp/requirements.txt
|
|||||||
RUN /tmp/lazy.sh devsetup
|
RUN /tmp/lazy.sh devsetup
|
||||||
|
|
||||||
# prepare volume mount of git checkout to /zrepl
|
# 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
|
RUN chmod -R 0777 /go
|
||||||
WORKDIR /go/src/github.com/zrepl/zrepl
|
WORKDIR /go/src/github.com/zrepl/zrepl
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ and serves as a reference for build dependencies and procedure:
|
|||||||
cd zrepl
|
cd zrepl
|
||||||
sudo docker build -t zrepl_build -f build.Dockerfile .
|
sudo docker build -t zrepl_build -f build.Dockerfile .
|
||||||
sudo docker run -it --rm \
|
sudo docker run -it --rm \
|
||||||
-v "${PWD}:/zrepl" \
|
-v "${PWD}:/go/src/github.com/zrepl/zrepl" \
|
||||||
--user "$(id -u):$(id -g)" \
|
--user "$(id -u):$(id -g)" \
|
||||||
zrepl_build make vendordeps release
|
zrepl_build make vendordeps release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user