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?
|
# xxx move from cudagl to cuda, for runtime?
|
||||||
ARG CUDA_DEVEL="12.1.1-devel-ubuntu22.04"
|
ARG CUDA_DEVEL="12.6.2-devel-ubuntu22.04"
|
||||||
ARG CUDA_RUNTIME="12.1.1-runtime-ubuntu22.04"
|
ARG CUDA_RUNTIME="12.6.2-runtime-ubuntu22.04"
|
||||||
|
|
||||||
# runtime starts as 2.3GB image
|
# runtime starts as 2.3GB image
|
||||||
# devel is runtime+ and is 4.2GB 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_75=75
|
||||||
ARG CUDA_ARCH_61=61
|
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
|
# 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)
|
# install nvidia headers (got moved out of ffmpeg)
|
||||||
RUN git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers && \
|
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 && \
|
sudo make install && \
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ RUN sed -i -e "s/gencode arch=compute_..,code=sm_../gencode arch=compute_${CUDA_
|
|||||||
&& make distclean || echo && \
|
&& make distclean || echo && \
|
||||||
./configure --enable-nonfree --enable-gpl \
|
./configure --enable-nonfree --enable-gpl \
|
||||||
--enable-libfdk-aac \
|
--enable-libfdk-aac \
|
||||||
--enable-libfreetype \
|
--enable-libfreetype --enable-libharfbuzz \
|
||||||
--enable-libopus \
|
--enable-libopus \
|
||||||
--enable-libvpx \
|
--enable-libvpx \
|
||||||
--enable-libx264 \
|
--enable-libx264 \
|
||||||
@ -76,7 +76,7 @@ RUN sed -i -e "s/gencode arch=compute_..,code=sm_../gencode arch=compute_${CUDA_
|
|||||||
&& make distclean || echo && \
|
&& make distclean || echo && \
|
||||||
./configure --enable-nonfree --enable-gpl \
|
./configure --enable-nonfree --enable-gpl \
|
||||||
--enable-libfdk-aac \
|
--enable-libfdk-aac \
|
||||||
--enable-libfreetype \
|
--enable-libfreetype --enable-libharfbuzz \
|
||||||
--enable-libopus \
|
--enable-libopus \
|
||||||
--enable-libvpx \
|
--enable-libvpx \
|
||||||
--enable-libx264 \
|
--enable-libx264 \
|
||||||
|
Loading…
Reference in New Issue
Block a user