forked from zcash/zips
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (30 loc) · 1001 Bytes
/
Copy pathDockerfile
File metadata and controls
36 lines (30 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM debian:latest
RUN apt-get update
RUN apt-get install -y \
perl \
sed \
git \
cmake \
python3 \
python3-pip \
pandoc \
biber \
latexmk \
texlive \
texlive-science \
texlive-fonts-extra \
texlive-plain-generic \
texlive-bibtex-extra
RUN rm /usr/lib/python3.11/EXTERNALLY-MANAGED
RUN pip install 'docutils==0.21.2' 'rst2html5==2.0.1'
RUN git config --global --add safe.directory /zips
# Use a fork so that we're running pinned code. The Makefile for
# MultiMarkdown-6 expects the `master` branch to exist for delta computation,
# so we also add that branch locally, even though it's otherwise unused.
RUN git clone -b develop https://github.com/Electric-Coin-Company/MultiMarkdown-6 && \
cd MultiMarkdown-6 && \
git branch master origin/master && \
make release && cd build && make && make install
ENV PATH=${PATH}:/root/.local/bin
WORKDIR "/zips"
ENTRYPOINT ["make", "all"]