Skip to content

Commit 95fd1be

Browse files
author
toneves
committed
Fix Docker arm64: add gcc python3-dev for pip3 img2pdf, unify layers
1 parent db1827f commit 95fd1be

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3535
poppler-utils \
3636
pandoc \
3737
python3-pip \
38-
&& rm -rf /var/lib/apt/lists/*
39-
40-
RUN wget -O /tmp/jellyfin-ffmpeg.deb \
38+
gcc \
39+
python3-dev \
40+
&& wget -O /tmp/jellyfin-ffmpeg.deb \
4141
"https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v7.1.4-3/jellyfin-ffmpeg7_7.1.4-3-noble_$(dpkg --print-architecture).deb" && \
4242
dpkg -i /tmp/jellyfin-ffmpeg.deb || true && \
4343
apt-get install -y -f --no-install-recommends && \
44+
pip3 install --no-cache-dir img2pdf && \
4445
rm -rf /var/lib/apt/lists/* /tmp/jellyfin-ffmpeg.deb
4546

46-
RUN pip3 install --no-cache-dir img2pdf
47-
4847
RUN ln -sf /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/local/bin/ffmpeg && \
4948
ln -sf /usr/lib/jellyfin-ffmpeg/ffprobe /usr/local/bin/ffprobe
5049

0 commit comments

Comments
 (0)