From 6cec9b752405451ac12c1101fba88f2e57b04cd5 Mon Sep 17 00:00:00 2001 From: divyam234 <47589864+divyam234@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:23:58 +0530 Subject: [PATCH] switch to gcc-9 --- cuda-ubuntu.dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cuda-ubuntu.dockerfile b/cuda-ubuntu.dockerfile index 20226f2..6ef2360 100644 --- a/cuda-ubuntu.dockerfile +++ b/cuda-ubuntu.dockerfile @@ -27,9 +27,9 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10 RUN add-apt-repository ppa:ubuntu-toolchain-r/test -y -RUN apt update && apt install gcc-11 g++-11 -y +RUN apt update && apt install gcc-9 g++-9 -y -RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11 +RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 WORKDIR /app COPY ./build-ffmpeg /app/build-ffmpeg