Skip to content

Commit e0e27dc

Browse files
author
Beat Buesser
committed
Optimize Dockerfile
Signed-off-by: Beat Buesser <[email protected]>
1 parent b49576f commit e0e27dc

File tree

1 file changed

+7
-34
lines changed

1 file changed

+7
-34
lines changed

Dockerfile

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,14 @@ RUN apt-get update -y
44
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
55
RUN apt-get install -y python3 python3-distutils python3-pip
66

7-
RUN pip3 install adversarial-robustness-toolbox
7+
RUN pip3 install adversarial-robustness-toolbox==1.11.0
88

9-
RUN pip3 install tensorflow==2.9.1
10-
RUN pip3 install keras==2.9.0
11-
RUN pip3 install numpy==1.22.4
12-
RUN pip3 install scipy==1.8.1
13-
RUN pip3 install matplotlib==3.5.2
14-
RUN pip3 install scikit-learn==1.1.2
15-
RUN pip3 install six==1.15.0
16-
RUN pip3 install Pillow==9.2.0
17-
RUN pip3 install pytest-cov==3.0.0
18-
RUN pip3 install tqdm==4.64.0
19-
RUN pip3 install statsmodels==0.13.2
20-
RUN pip3 install pydub==0.25.1
21-
RUN pip3 install resampy==0.3.1
22-
RUN pip3 install ffmpeg-python==0.2.0
23-
RUN pip3 install cma==3.2.2
24-
RUN pip3 install pandas==1.4.3
25-
RUN pip3 install h5py==3.7.0
26-
RUN pip3 install tensorflow-addons==0.17.1
27-
RUN pip3 install mxnet==1.6.0
28-
RUN pip3 install torch==1.12.0
29-
RUN pip3 install torchaudio==0.12.0
30-
RUN pip3 install torchvision==0.13.0
31-
RUN pip3 install catboost==1.0.6
32-
RUN pip3 install GPy==1.10.0
33-
RUN pip3 install lightgbm==3.3.2
34-
RUN pip3 install xgboost==1.6.1
35-
RUN pip3 install kornia==0.6.6
36-
RUN pip3 install lief==0.12.1
37-
RUN pip3 install pytest==7.1.2
38-
RUN pip3 install pytest-pep8==1.0.6
39-
RUN pip3 install pytest-mock==3.8.2
40-
RUN pip3 install codecov==2.1.12
41-
RUN pip3 install requests==2.28.1
9+
RUN pip3 install tensorflow==2.9.1 keras==2.9.0 numpy==1.22.4 scipy==1.8.1 matplotlib==3.5.2 scikit-learn==1.1.2 \
10+
six==1.15.0 Pillow==9.2.0 pytest-cov==3.0.0 tqdm==4.64.0 statsmodels==0.13.2 pydub==0.25.1 \
11+
resampy==0.3.1 ffmpeg-python==0.2.0 cma==3.2.2 pandas==1.4.3 h5py==3.7.0 tensorflow-addons==0.17.1 \
12+
mxnet==1.6.0 torch==1.12.0 torchaudio==0.12.0 torchvision==0.13.0 catboost==1.0.6 GPy==1.10.0 \
13+
lightgbm==3.3.2 xgboost==1.6.1 kornia==0.6.6 lief==0.12.1 pytest==7.1.2 pytest-pep8==1.0.6 \
14+
pytest-mock==3.8.2 codecov==2.1.12 requests==2.28.1
4215

4316
RUN apt-get -y -q install ffmpeg libavcodec-extra
4417

0 commit comments

Comments
 (0)