mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-22 15:11:16 +01:00
903fbff710
refs #35
21 lines
397 B
Docker
21 lines
397 B
Docker
FROM golang:latest
|
|
|
|
# Docs deps
|
|
RUN apt-get update && apt-get install -y \
|
|
python3-pip
|
|
|
|
ADD lazy.sh /tmp/lazy.sh
|
|
|
|
RUN /tmp/lazy.sh builddep
|
|
|
|
ADD docs/requirements.txt /tmp/requirements.txt
|
|
ENV ZREPL_LAZY_DOCS_REQPATH=/tmp/requirements.txt
|
|
RUN /tmp/lazy.sh docdep
|
|
|
|
RUN mkdir -p /go/src/github.com/zrepl
|
|
RUN ln -sf /zrepl /go/src/github.com/zrepl/zrepl
|
|
|
|
WORKDIR /go/src/github.com/zrepl/zrepl
|
|
|
|
|