eienmojiki commited on
Commit
fd42b39
·
verified ·
1 Parent(s): 4c7d52e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -32
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM buildpack-deps:22.04-curl
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive \
4
  TZ=Asia/Ho_Chi_Minh \
@@ -8,31 +8,26 @@ ENV DEBIAN_FRONTEND=noninteractive \
8
 
9
  RUN useradd -m -u 1000 user
10
 
11
- RUN apt-get update
12
-
13
- RUN apt-get -o Acquire::http::Proxy="http://192.168.185.23:10809/" -o Acquire::https::Proxy="http://192.168.185.23:10809/" install -y \
14
- bash \
15
- unzip \
16
- git \
17
- git-lfs \
18
  curl \
 
 
 
19
  wget \
20
- ffmpeg \
21
- psmisc \
22
- aria2 \
 
 
 
 
 
 
23
  build-essential \
24
- libnss3-dev \
25
- libgdk-pixbuf2.0-dev \
26
- libgtk-3-dev \
27
- libxss-dev \
28
- zlib1g-dev \
29
- libncurses5-dev \
30
- libssl-dev \
31
- libreadline-dev \
32
- libffi-dev \
33
- libasound2 \
34
- make \
35
- libnss3
36
 
37
  RUN rm -rf /var/lib/apt/lists/*
38
 
@@ -54,15 +49,6 @@ RUN wget https://storage.googleapis.com/chrome-for-testing-public/128.0.6613.119
54
  chown user: /usr/bin/chromedriver && \
55
  chmod +x /usr/bin/chromedriver
56
 
57
- RUN cd /tmp && \
58
- wget https://www.python.org/ftp/python/3.10.12/Python-3.10.12.tgz && \
59
- tar -xf Python-3.10.12.tgz && \
60
- cd Python-3.10.12 && \
61
- ./configure --enable-optimizations && \
62
- make install && \
63
- cd .. && \
64
- rm -rf Python-3.10.12 Python-3.10.12.tgz
65
-
66
  RUN add-apt-repository ppa:deadsnakes/ppa && \
67
  add-apt-repository ppa:tomtomtom/yt-dlp && \
68
  apt-get update && \
 
1
+ FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu20.04
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive \
4
  TZ=Asia/Ho_Chi_Minh \
 
8
 
9
  RUN useradd -m -u 1000 user
10
 
11
+ RUN rm -f /etc/apt/sources.list.d/*.list && \
12
+ apt-get update && apt-get install -y --no-install-recommends \
 
 
 
 
 
13
  curl \
14
+ ca-certificates \
15
+ sudo \
16
+ git \
17
  wget \
18
+ procps \
19
+ git-lfs \
20
+ zip \
21
+ unzip \
22
+ htop \
23
+ vim \
24
+ nano \
25
+ bzip2 \
26
+ libx11-6 \
27
  build-essential \
28
+ libsndfile-dev \
29
+ software-properties-common \
30
+ && rm -rf /var/lib/apt/lists/*
 
 
 
 
 
 
 
 
 
31
 
32
  RUN rm -rf /var/lib/apt/lists/*
33
 
 
49
  chown user: /usr/bin/chromedriver && \
50
  chmod +x /usr/bin/chromedriver
51
 
 
 
 
 
 
 
 
 
 
52
  RUN add-apt-repository ppa:deadsnakes/ppa && \
53
  add-apt-repository ppa:tomtomtom/yt-dlp && \
54
  apt-get update && \