Skip to content

Commit

Permalink
add apt-get clean command
Browse files Browse the repository at this point in the history
  • Loading branch information
TheColorDarkBlue committed Jun 17, 2024
1 parent 62e65f0 commit da1195e
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
FROM debian:stable-slim

ENV DEBIAN_FRONTEND noninteractive

RUN echo "deb http://deb.debian.org/debian stable main" > /etc/apt/sources.list && \
echo "deb http://deb.debian.org/debian stable-updates main" >> /etc/apt/sources.list && \
echo "deb http://deb.debian.org/debian-security stable-security main" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -qyf \
texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended && \
rm -rf /var/lib/apt/lists/*
RUN echo "deb http://deb.debian.org/debian stable main" > /etc/apt/sources.list \
&& echo "deb http://deb.debian.org/debian stable-updates main" >> /etc/apt/sources.list \
&& echo "deb http://deb.debian.org/debian-security stable-security main" >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -qy \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /data
VOLUME ["/data"]

0 comments on commit da1195e

Please sign in to comment.