Xubo-Liu commited on
Commit
ab33fca
1 Parent(s): 1854c48

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +28 -1
Dockerfile CHANGED
@@ -3,7 +3,34 @@ FROM python:3.11
3
  FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
4
  ENV DEBIAN_FRONTEND=noninteractive
5
 
6
- RUN apt-get update
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  # Install miniconda
9
  RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/*
 
3
  FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
4
  ENV DEBIAN_FRONTEND=noninteractive
5
 
6
+ RUN apt-get update && \
7
+ apt-get upgrade -y && \
8
+ apt-get install -y --no-install-recommends \
9
+ git \
10
+ git-lfs \
11
+ wget \
12
+ curl \
13
+ # python build dependencies \
14
+ build-essential \
15
+ libssl-dev \
16
+ zlib1g-dev \
17
+ libbz2-dev \
18
+ libreadline-dev \
19
+ libsqlite3-dev \
20
+ libncursesw5-dev \
21
+ xz-utils \
22
+ tk-dev \
23
+ libxml2-dev \
24
+ libxmlsec1-dev \
25
+ libffi-dev \
26
+ liblzma-dev \
27
+ # gradio dependencies \
28
+ ffmpeg \
29
+ # fairseq2 dependencies \
30
+ libsndfile-dev && \
31
+ apt-get clean && \
32
+ rm -rf /var/lib/apt/lists/*
33
+
34
 
35
  # Install miniconda
36
  RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/*