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}."
7
+
ARG MIKTEX_SRC_REPO
15
8
16
9
# Install Debian packages
17
10
RUN apt-get update \
@@ -22,10 +15,11 @@ RUN apt-get update \
22
15
curl \
23
16
&& rm -rf /var/lib/apt/lists/* \
24
17
&& apt-get clean
18
+
# && apt-get dist-clean
25
19
26
20
# Install MikTeX
27
21
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
22
+
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
23
RUN apt-get update \
30
24
&& apt-get install -y --no-install-recommends \
31
25
ghostscript \
@@ -34,6 +28,7 @@ RUN apt-get update \
34
28
miktex \
35
29
&& rm -rf /var/lib/apt/lists/* \
36
30
&& apt-get clean
31
+
# && apt-get dist-clean
37
32
38
33
# Install executables like lualatex into /usr/local/bin
39
34
RUN miktexsetup --shared=yes finish
@@ -50,5 +45,3 @@ RUN --mount=type=bind,target=/context \
0 commit comments