Skip to content

Commit

Permalink
switch to gcc-9
Browse files Browse the repository at this point in the history
  • Loading branch information
divyam234 authored Jan 19, 2023
1 parent f066d2c commit 6cec9b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cuda-ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6cec9b7

Please sign in to comment.