update version
This commit is contained in:
parent
416f4f5bdd
commit
62fcc2041a
12
Dockerfile
12
Dockerfile
@ -3,8 +3,8 @@
|
||||
|
||||
|
||||
# xxx move from cudagl to cuda, for runtime?
|
||||
ARG CUDA_DEVEL="12.1.1-devel-ubuntu22.04"
|
||||
ARG CUDA_RUNTIME="12.1.1-runtime-ubuntu22.04"
|
||||
ARG CUDA_DEVEL="12.6.2-devel-ubuntu22.04"
|
||||
ARG CUDA_RUNTIME="12.6.2-runtime-ubuntu22.04"
|
||||
|
||||
# runtime starts as 2.3GB image
|
||||
# devel is runtime+ and is 4.2GB image
|
||||
@ -16,7 +16,7 @@ FROM nvidia/cuda:$CUDA_DEVEL AS builder
|
||||
ARG CUDA_ARCH_75=75
|
||||
ARG CUDA_ARCH_61=61
|
||||
|
||||
ARG FFMPEG_TGZ=https://ffmpeg.org/releases/ffmpeg-5.1.3.tar.gz
|
||||
ARG FFMPEG_TGZ=https://ffmpeg.org/releases/ffmpeg-7.1.tar.gz
|
||||
|
||||
|
||||
# create an ffmpeg (w/ shared libs) that can utilize nvidia GPU
|
||||
@ -41,7 +41,7 @@ RUN apt-get -yqq update && apt-get -yqq install \
|
||||
|
||||
# install nvidia headers (got moved out of ffmpeg)
|
||||
RUN git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers && \
|
||||
cd nv-codec-headers && git checkout n12.0.16.0 && \
|
||||
cd nv-codec-headers && git checkout n12.2.72.0 && \
|
||||
sudo make install && \
|
||||
cd ..
|
||||
|
||||
@ -59,7 +59,7 @@ RUN sed -i -e "s/gencode arch=compute_..,code=sm_../gencode arch=compute_${CUDA_
|
||||
&& make distclean || echo && \
|
||||
./configure --enable-nonfree --enable-gpl \
|
||||
--enable-libfdk-aac \
|
||||
--enable-libfreetype \
|
||||
--enable-libfreetype --enable-libharfbuzz \
|
||||
--enable-libopus \
|
||||
--enable-libvpx \
|
||||
--enable-libx264 \
|
||||
@ -76,7 +76,7 @@ RUN sed -i -e "s/gencode arch=compute_..,code=sm_../gencode arch=compute_${CUDA_
|
||||
&& make distclean || echo && \
|
||||
./configure --enable-nonfree --enable-gpl \
|
||||
--enable-libfdk-aac \
|
||||
--enable-libfreetype \
|
||||
--enable-libfreetype --enable-libharfbuzz \
|
||||
--enable-libopus \
|
||||
--enable-libvpx \
|
||||
--enable-libx264 \
|
||||
|
Loading…
Reference in New Issue
Block a user