Duongkum999 commited on
Commit
ec49b81
1 Parent(s): 728380f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +27 -14
Dockerfile CHANGED
@@ -1,17 +1,30 @@
1
- FROM ubuntu:20.04
2
-
3
- # Cài đặt các gói cần thiết
4
- RUN apt-get update && \
5
- apt-get install -y \
6
- qemu-kvm \
7
- libvirt-daemon-system \
8
- libvirt-clients \
9
- bridge-utils \
10
- virt-manager \
11
- qemu-utils \
12
- python3-pip \
13
- git && \
14
- apt-get clean
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  # Cài đặt Jupyter Lab
17
  RUN pip3 install jupyterlab
 
1
+ FROM nvidia/cuda:11.3.1-base-ubuntu20.04
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive \
4
+ TZ=Europe/Paris
5
+
6
+ # Remove any third-party apt sources to avoid issues with expiring keys.
7
+ # Install some basic utilities
8
+ RUN rm -f /etc/apt/sources.list.d/*.list && \
9
+ apt-get update && apt-get install -y --no-install-recommends \
10
+ curl \
11
+ ca-certificates \
12
+ sudo \
13
+ git \
14
+ wget \
15
+ procps \
16
+ git-lfs \
17
+ zip \
18
+ unzip \
19
+ htop \
20
+ vim \
21
+ nano \
22
+ bzip2 \
23
+ libx11-6 \
24
+ build-essential \
25
+ libsndfile-dev \
26
+ software-properties-common \
27
+ && rm -rf /var/lib/apt/lists/*
28
 
29
  # Cài đặt Jupyter Lab
30
  RUN pip3 install jupyterlab