-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitpod.Dockerfile
34 lines (29 loc) · 1.78 KB
/
.gitpod.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM gitpod/workspace-full
USER gitpod
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "debconf debconf/frontend select Noninteractive" | sudo debconf-set-selections && \
echo "keyboard-configuration keyboard-configuration/layout select 'English (US)'" | sudo debconf-set-selections && \
echo "keyboard-configuration keyboard-configuration/layoutcode select 'us'" | sudo debconf-set-selections && \
echo "resolvconf resolvconf/linkify-resolvconf boolean false" | sudo debconf-set-selections && \
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb -O cuda_keyring.deb && \
sudo dpkg -i cuda_keyring.deb && \
rm cuda_keyring.deb && \
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin && \
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \
sudo add-apt-repository deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ / && \
sudo apt-get update -q && \
sudo apt-get install cuda-12-3 -y --no-install-recommends && \
sudo apt-get clean autoclean && \
sudo apt-get autoremove -y && \
sudo rm -rf /var/lib/{apt,dpkg,cache,log}/
RUN sudo apt-get update -q && \
sudo apt-get upgrade -y && \
sudo apt-get install dieharder -y --no-install-recommends && \
sudo apt-get install libopenmpi-dev -y --no-install-recommends && \
sudo apt-get install gdal-bin -y --no-install-recommends && \
sudo apt-get install libgdal-dev -y --no-install-recommends && \
sudo apt-get clean autoclean && \
sudo apt-get autoremove -y && \
sudo rm -rf /var/lib/{apt,dpkg,cache,log}/
RUN cargo install cargo-mpirun --force && \
cargo install cargo-reaper --git https://github.com/juntyr/grim-reaper --force