squash! ci: add g++-10 and gcc-10 to the main-cuda
This commit updates the full-cuda.Dockerfile and server-cuda.Dockerfile. Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit is contained in:
parent
600d517cde
commit
427d7a4d3a
2 changed files with 10 additions and 1 deletions
|
@ -11,8 +11,12 @@ FROM ${BASE_CUDA_DEV_CONTAINER} as build
|
|||
# Unless otherwise specified, we make a fat build.
|
||||
ARG CUDA_DOCKER_ARCH=all
|
||||
|
||||
# Install gcc-10 and g++-10 to work around and issue CUDA 11.7.1 and gcc-11
|
||||
RUN apt-get update && \
|
||||
apt-get install -y build-essential python3 python3-pip git
|
||||
apt-get install -y build-essential python3 python3-pip git g++-10 gcc-10
|
||||
|
||||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 && \
|
||||
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
COPY requirements requirements
|
||||
|
|
|
@ -11,8 +11,13 @@ FROM ${BASE_CUDA_DEV_CONTAINER} as build
|
|||
# Unless otherwise specified, we make a fat build.
|
||||
ARG CUDA_DOCKER_ARCH=all
|
||||
|
||||
# Install gcc-10 and g++-10 to work around and issue CUDA 11.7.1 and gcc-11
|
||||
RUN apt-get update && \
|
||||
apt-get install -y build-essential git
|
||||
apt-get install -y build-essential git g++-10 gcc-10
|
||||
|
||||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 && \
|
||||
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue