Support rendering via Docker.

This commit is contained in:
nathan 2020-01-02 11:58:44 -08:00
parent f1230509d8
commit 3aba19102e
2 changed files with 18 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM debian:latest
RUN apt-get update \
&& apt-get install -y \
python3 \
python-pip
RUN pip install rst2html5
WORKDIR "/zips"
ENTRYPOINT ["make"]

7
render-via-docker.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -efuxo pipefail
TAG='zcash-zips-render'
docker build -t "$TAG" .
docker run -v "$(pwd):/zips" "$TAG"