Skip to content

Commit 0c9463c

Browse files
committed
Update Dockerfile
1 parent bf38d04 commit 0c9463c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

latex/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ARG USER_GECOS=LaTeX
1111

1212
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
1313

14+
ENV DEBIAN_FRONTEND=noninteractive
15+
1416
RUN apt-get update \
1517
&& apt-get upgrade -y \
1618
&& apt-get install --no-install-recommends -y \
@@ -39,7 +41,7 @@ RUN apt-get update \
3941
&& apt-get --purge remove -y .\*-doc$ \
4042
# Remove more unnecessary stuff
4143
&& apt-get clean -y \
42-
&& rm -rf /var/lib/apt/lists/*
44+
&& rm -rf /var/lib/apt/lists/* /var/log/* /var/cache/ldconfig/aux-cache
4345

4446
RUN adduser \
4547
--home "${USER_HOME}" \

0 commit comments

Comments
 (0)