Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest LTS #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 \
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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/
Expand Down