Skip to content
Snippets Groups Projects
Commit 20ecb581 authored by nimrod's avatar nimrod
Browse files

Install diagrams from PyPI.

The Debian package currently is uninstallable due to a missing
dependency (python3-typed-ast).
parent d8d1c0f6
No related branches found
No related tags found
No related merge requests found
Pipeline #3981 failed
......@@ -5,7 +5,7 @@ RUN go install github.com/spelufo/on-change@latest && \
# hadolint ignore=DL3007
FROM registry.shore.co.il/toolbx:latest
COPY --from=golang /go/bin/on-change /go/bin/ttyrec2gif /usr/local/bin/
# hadolint ignore=DL3008
# hadolint ignore=DL3008,DL3013
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
fonts-font-awesome \
......@@ -21,7 +21,7 @@ RUN apt-get update && \
mandoc \
pandoc \
poppler-utils \
python3-diagrams \
python3-pip \
texlive-extra-utils \
texlive-fonts-extra \
texlive-fonts-recommended \
......@@ -35,7 +35,10 @@ RUN apt-get update && \
texlive-xetex \
qpdf \
&& \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
python3 -m pip install --no-cache-dir --break-system-packages \
diagrams \
&& \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/* ~/.cache/*
ENTRYPOINT [ "/usr/local/sbin/runas" ]
CMD [ "on-change", ".", "make" ]
VOLUME /volume
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment