You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LABEL description="MikTeX based on Debian ${OS_VERSION} and Python ${PY_VERSION}."
15
9
16
10
# Install Debian packages
17
11
RUN apt-get update \
@@ -20,20 +14,18 @@ RUN apt-get update \
20
14
ca-certificates \
21
15
gnupg \
22
16
curl \
23
-
&& rm -rf /var/lib/apt/lists/* \
24
-
&& apt-get clean
17
+
&& apt-get dist-clean
25
18
26
19
# Install MikTeX
27
20
RUN curl -fsSL https://miktex.org/download/key | tee /usr/share/keyrings/miktex-keyring.asc > /dev/null
28
-
RUN echo "deb [signed-by=/usr/share/keyrings/miktex-keyring.asc] https://miktex.org/download/debian ${OS_VERSION} universe" | tee /etc/apt/sources.list.d/miktex.list
21
+
RUN echo "deb [signed-by=/usr/share/keyrings/miktex-keyring.asc] https://miktex.org/download/debian ${MIKTEX_SRC_REPO} universe" | tee /etc/apt/sources.list.d/miktex.list
29
22
RUN apt-get update \
30
23
&& apt-get install -y --no-install-recommends \
31
24
ghostscript \
32
25
make \
33
26
perl \
34
27
miktex \
35
-
&& rm -rf /var/lib/apt/lists/* \
36
-
&& apt-get clean
28
+
&& apt-get dist-clean
37
29
38
30
# Install executables like lualatex into /usr/local/bin
39
31
RUN miktexsetup --shared=yes finish
@@ -50,5 +42,3 @@ RUN --mount=type=bind,target=/context \
0 commit comments