Skip to content

Commit

Permalink
reduce docker image size (#66)
Browse files Browse the repository at this point in the history
Co-authored-by: Terry Lim <[email protected]>
  • Loading branch information
LTS42 and Terry Lim authored Jun 14, 2024
1 parent 5888d8c commit 3fb875f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
FROM ubuntu:noble
FROM debian:stable-slim
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -q && apt-get install -qy \
curl jq \
texlive-full \
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
RUN apt-get update
RUN apt-get install -qyf \
curl jq make git \
python3-pygments gnuplot \
make git \
&& rm -rf /var/lib/apt/lists/*
texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
RUN rm -rf /var/lib/apt/lists/*

WORKDIR /data
VOLUME ["/data"]

0 comments on commit 3fb875f

Please sign in to comment.