rvc11 commited on
Commit
d2a1f38
·
verified ·
1 Parent(s): 207f826

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +30 -2
Dockerfile CHANGED
@@ -1,10 +1,38 @@
1
  # Use NVIDIA CUDA image
2
  FROM nvidia/cuda:12.9.1-cudnn-devel-ubuntu24.04
3
 
4
- RUN apt update
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
- RUN apt install curl wget dumb-init -y
 
 
7
 
 
 
 
 
8
  RUN curl http://code-server.dev/install.sh -fsSL | bash
9
 
10
  # Set the user as root with the custom name
 
1
  # Use NVIDIA CUDA image
2
  FROM nvidia/cuda:12.9.1-cudnn-devel-ubuntu24.04
3
 
4
+ # Remove any third-party apt sources to avoid issues with expiring keys.
5
+ # Install some basic utilities
6
+ RUN rm -f /etc/apt/sources.list.d/*.list && \
7
+ apt-get update && apt-get install -y --no-install-recommends \
8
+ curl \
9
+ ca-certificates \
10
+ sudo \
11
+ git \
12
+ wget \
13
+ procps \
14
+ git-lfs \
15
+ zip \
16
+ unzip \
17
+ htop \
18
+ vim \
19
+ nano \
20
+ bzip2 \
21
+ libx11-6 \
22
+ build-essential \
23
+ libsndfile-dev \
24
+ software-properties-common \
25
+ dumb-init \
26
+ && rm -rf /var/lib/apt/lists/*
27
 
28
+ RUN add-apt-repository ppa:flexiondotorg/nvtop && \
29
+ apt-get upgrade -y && \
30
+ apt-get install -y --no-install-recommends nvtop
31
 
32
+ RUN curl -sL https://deb.nodesource.com/setup_21.x | bash - && \
33
+ apt-get install -y nodejs && \
34
+ npm install -g configurable-http-proxy
35
+
36
  RUN curl http://code-server.dev/install.sh -fsSL | bash
37
 
38
  # Set the user as root with the custom name