feat: add nasp-ubuntu-neo which provides cuda 12.2
This commit is contained in:
18
nasp-ubuntu-neo/Dockerfile
Normal file
18
nasp-ubuntu-neo/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM docker.io/nvidia/cuda:12.2.2-devel-ubuntu22.04
|
||||
|
||||
# Install dependencies
|
||||
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& sed -i "s@http://.*archive.ubuntu.com@http://192.168.16.118/mirrors@g" /etc/apt/sources.list \
|
||||
&& apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -yq \
|
||||
-o Acquire::BrokenProxy="true" -o Acquire::http::No-Cache="true" -o Acquire::http::Pipeline-Depth="0" \
|
||||
build-essential cmake openssh-server git-all sudo ssh sshpass pciutils \
|
||||
python3 python3-dev python3-pip curl ca-certificates vim zsh tmux bash \
|
||||
inetutils-ping less wget dialog net-tools dnsutils netcat traceroute \
|
||||
cron htop zip openssl \
|
||||
&& curl -fsSL https://code-server.dev/install.sh | sh \
|
||||
&& rm -rf /var/lib/apt/list/*
|
||||
|
||||
# startup
|
||||
COPY startup.sh /etc/startup.sh
|
||||
COPY code.sh /usr/bin/code.sh
|
||||
ENTRYPOINT ["/etc/startup.sh"]
|
||||
Reference in New Issue
Block a user