mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-01 03:18:32 +00:00
Fix cmake
This commit is contained in:
parent
7c96ee1e00
commit
7c6fecf13d
@ -6,11 +6,9 @@ ARG TZ="Europe/London"
|
||||
RUN apt-get update -y && \
|
||||
apt-get install -y --no-install-recommends software-properties-common && \
|
||||
add-apt-repository ppa:ubuntu-toolchain-r/test && \
|
||||
add-apt-repository ppa:george-edison55/cmake-3.x && \
|
||||
apt-get update -y && \
|
||||
apt-get install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
gcc-10 \
|
||||
git \
|
||||
g++-10 \
|
||||
@ -36,6 +34,13 @@ RUN apt-get update -y && \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN wget https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1.tar.gz && \
|
||||
tar -zxvf cmake-3.22.1.tar.gz && \
|
||||
cd cmake-3.22.1 && \
|
||||
./bootstrap && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
RUN cp /usr/bin/gcc-10 /usr/bin/gcc && cp /usr/bin/g++-10 /usr/bin/gcc-10
|
||||
|
||||
RUN wget https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda_11.4.2_470.57.02_linux.run --progress=bar:force:noscroll -q --show-progress -O /root/cuda.run && chmod a+x /root/cuda.run
|
||||
|
Loading…
Reference in New Issue
Block a user