1 parent 7c15c17 commit a902df5Copy full SHA for a902df5
1 file changed
.docker/sphinx-latex/Dockerfile
@@ -8,6 +8,9 @@ ENV DEBIAN_FRONTEND=noninteractive
8
9
RUN apt-get update \
10
&& apt-get install -y --no-install-recommends \
11
+ curl \
12
+ git \
13
+ lsb-release \
14
make \
15
python3-pip \
16
latexmk \
@@ -21,3 +24,7 @@ RUN apt-get update \
21
24
xindy \
22
25
&& mktexlsr \
23
26
&& rm -rf /var/lib/apt/lists/*
27
+
28
+# Allow pip to install packages system-wide inside the container (used by
29
+# actions/setup-python and plain pip invocations running as root)
30
+RUN printf '[global]\nbreak-system-packages = true\n' > /etc/pip.conf
0 commit comments