mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-21 16:03:32 +01:00
23 lines
469 B
Docker
23 lines
469 B
Docker
FROM !SUBSTITUTED_BY_MAKEFILE
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
python3-pip \
|
|
python3-venv \
|
|
unzip \
|
|
gawk
|
|
|
|
# setup venv for docs
|
|
ENV VIRTUAL_ENV=/opt/venv
|
|
RUN python3 -m venv $VIRTUAL_ENV
|
|
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
|
ADD docs/requirements.txt /tmp/requirements.txt
|
|
RUN pip3 install -r /tmp/requirements.txt
|
|
|
|
# Go toolchain uses xdg-cache
|
|
RUN mkdir -p /.cache && chmod -R 0777 /.cache
|
|
|
|
# Go devtools are managed by Makefile
|
|
|
|
WORKDIR /src
|
|
|