File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ function build_rpi() {
4545
4646function build_cuda() {
4747 export OS_NAME=ubuntu
48+ export CUDA_VERSION=13.1.0
4849 export OS_VERSION=24.04
4950 export FFMPEG_VERSION=8.0.1
5051 export FFNVCODEC_VERSION=13.0.19.0
@@ -55,7 +56,7 @@ function build_cuda() {
5556 --build-arg DEPLOY_IMAGE=nvidia/cuda:$CUDA_VERSION -runtime-ubuntu$OS_VERSION \
5657 --build-arg FFNVCODEC_VERSION=$FFNVCODEC_VERSION \
5758 --build-arg FFMPEG_VERSION=$FFMPEG_VERSION \
58- -f Dockerfile.ubuntu.cuda12 \
59+ -f Dockerfile.ubuntu.cuda13 \
5960 -t datarhei/base:ffmpeg${FFMPEG_VERSION} -cuda-ubuntu$OS_VERSION -cuda${CUDA_VERSION} .
6061}
6162
Original file line number Diff line number Diff line change 1- ARG BUILD_IMAGE=nvidia/cuda:13.1.1 -devel-ubuntu24.04
2- ARG DEPLOY_IMAGE=nvidia/cuda:13.1.1 -runtime-ubuntu24.04
1+ ARG BUILD_IMAGE=nvidia/cuda:13.1.0 -devel-ubuntu24.04
2+ ARG DEPLOY_IMAGE=nvidia/cuda:13.1.0 -runtime-ubuntu24.04
33
44FROM $BUILD_IMAGE AS builder
55
@@ -18,7 +18,6 @@ RUN apt-get update -y && \
1818 curl \
1919 libcurl4-openssl-dev \
2020 git \
21- nasm \
2221 openssl \
2322 libssl-dev \
2423 cmake \
@@ -48,7 +47,9 @@ RUN apt-get update -y && \
4847 libxcb-xfixes0-dev \
4948 libxcb-shm0-dev \
5049 libxcb-shape0-dev \
51- zlib1g-dev
50+ zlib1g-dev \
51+ libnuma1 \
52+ libnuma-dev
5253
5354# install and patch ffmpeg
5455RUN mkdir -p /dist && cd /dist && \
@@ -71,6 +72,7 @@ RUN cd /dist/ffmpeg-${FFMPEG_VERSION} && \
7172 --prefix="${SRC}" \
7273 --extra-cflags=-I/usr/local/cuda/include \
7374 --extra-ldflags=-L/usr/local/cuda/lib64 \
75+ --nvccflags="-gencode arch=compute_75,code=sm_75 -O2" \
7476 --enable-nonfree \
7577 --enable-gpl \
7678 --enable-version3 \
@@ -83,7 +85,6 @@ RUN cd /dist/ffmpeg-${FFMPEG_VERSION} && \
8385 --enable-nvdec \
8486 --enable-nvenc \
8587 --enable-cuvid \
86- --enable-libnpp \
8788 --enable-libv4l2 \
8889 --enable-libfreetype \
8990 --enable-alsa \
You can’t perform that action at this time.
0 commit comments