From fa094a7b6d711a79eae2ec1456b0225f1c51dade Mon Sep 17 00:00:00 2001 From: Brian Enigma Date: Tue, 9 Jul 2024 10:21:20 -0700 Subject: [PATCH] Update to latest LTS The LTS the Dockerfile points to is far enough out of date that it's no longer available. --- Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 943cee4..7374e7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:9-slim as base +FROM debian:12-slim as base ENV FFMPEG_VERSION=4.0.2 LD_LIBRARY_PATH=/usr/local/lib @@ -12,7 +12,7 @@ RUN apt-get install -y make curl gcc g++ nasm yasm && \ apt-get install -y opencl-dev vim libass-dev libavformat-dev \ libavutil-dev libavfilter-dev uuid-dev zlib1g-dev && \ DIR=$(mktemp -d) && cd ${DIR} && \ - curl -s http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz | tar zxvf - -C . && \ + curl -s https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz | tar zxvf - -C . && \ cd ffmpeg-${FFMPEG_VERSION} && \ ./configure --enable-version3 --enable-hardcoded-tables --enable-shared --enable-static \ --enable-small --enable-libass --enable-postproc --enable-avresample --enable-libfreetype \ @@ -43,7 +43,7 @@ RUN ldd /usr/bin/mediainfo # # Runtime Container # -FROM debian:9-slim as slim +FROM debian:12-slim as slim ENV FFMPEG_VERSION=4.0.2 LD_LIBRARY_PATH=/usr/local/lib @@ -76,9 +76,12 @@ COPY --from=base /usr/lib/x86_64-linux-gnu/libnettle.so.* /usr/local/lib/ COPY --from=base /usr/lib/x86_64-linux-gnu/libgnutls.so.* /usr/local/lib/ COPY --from=base /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.* /usr/local/lib/ COPY --from=base /usr/lib/x86_64-linux-gnu/libkrb5.so.* /usr/local/lib/ +COPY --from=base /usr/lib/x86_64-linux-gnu/libcrypto.so.* /usr/local/lib/ COPY --from=base /usr/lib/x86_64-linux-gnu/libk5crypto.so.* /usr/local/lib/ -COPY --from=base /usr/lib/x86_64-linux-gnu/liblber-2.4.so.* /usr/local/lib/ -COPY --from=base /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.* /usr/local/lib/ +COPY --from=base /usr/lib/x86_64-linux-gnu/liblber-2.5.so.* /usr/local/lib/ +COPY --from=base /usr/lib/x86_64-linux-gnu/libldap-2.5.so.* /usr/local/lib/ +COPY --from=base /usr/lib/x86_64-linux-gnu/libbrotlidec.so.* /usr/local/lib/ +COPY --from=base /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.* /usr/local/lib/ COPY --from=base /usr/lib/x86_64-linux-gnu/libunistring.so.* /usr/local/lib/ COPY --from=base /usr/lib/x86_64-linux-gnu/libhogweed.so.* /usr/local/lib/ COPY --from=base /usr/lib/x86_64-linux-gnu/libgmp.so.* /usr/local/lib/