Skip to content

Commit 81d6fed

Browse files
Roshrinimvsusp
authored andcommitted
Removing extra packages to optimize space (#130)
1 parent f52b1b3 commit 81d6fed

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

docker/1.2.0/py2/Dockerfile.gpu

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ENV HOROVOD_VERSION=0.16.4
88

99
RUN apt-get update && apt-get install -y --allow-downgrades --allow-change-held-packages --no-install-recommends \
1010
build-essential \
11+
jq \
1112
ca-certificates \
1213
cmake \
1314
cuda-command-line-tools-10-0 \
@@ -16,7 +17,6 @@ RUN apt-get update && apt-get install -y --allow-downgrades --allow-change-held
1617
cuda-curand-10-0 \
1718
cuda-cusolver-10-0 \
1819
cuda-cusparse-10-0 \
19-
jq \
2020
libglib2.0-0 \
2121
libgl1-mesa-glx \
2222
libsm6 \
@@ -31,6 +31,14 @@ RUN apt-get update && apt-get install -y --allow-downgrades --allow-change-held
3131
build-essential \
3232
zlib1g-dev
3333

34+
RUN apt-get remove -y cuda-cufft-dev-10-0 \
35+
cuda-curand-dev-10-0 \
36+
cuda-cusolver-dev-10-0 \
37+
cuda-npp-dev-10-0 \
38+
cuda-nvgraph-dev-10-0 \
39+
cuda-nvjpeg-dev-10-0 \
40+
cuda-nvrtc-dev-10-0
41+
3442
# See http://bugs.python.org/issue19846
3543
ENV LANG C.UTF-8
3644

docker/1.2.0/py3/Dockerfile.gpu

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ENV HOROVOD_VERSION=0.16.4
88

99
RUN apt-get update && apt-get install -y --allow-downgrades --allow-change-held-packages --no-install-recommends \
1010
build-essential \
11+
jq \
1112
ca-certificates \
1213
cmake \
1314
cuda-command-line-tools-10-0 \
@@ -16,7 +17,6 @@ RUN apt-get update && apt-get install -y --allow-downgrades --allow-change-held
1617
cuda-curand-10-0 \
1718
cuda-cusolver-10-0 \
1819
cuda-cusparse-10-0 \
19-
jq \
2020
libglib2.0-0 \
2121
libgl1-mesa-glx \
2222
libsm6 \
@@ -31,6 +31,14 @@ RUN apt-get update && apt-get install -y --allow-downgrades --allow-change-held
3131
build-essential \
3232
zlib1g-dev
3333

34+
RUN apt-get remove -y cuda-cufft-dev-10-0 \
35+
cuda-curand-dev-10-0 \
36+
cuda-cusolver-dev-10-0 \
37+
cuda-npp-dev-10-0 \
38+
cuda-nvgraph-dev-10-0 \
39+
cuda-nvjpeg-dev-10-0 \
40+
cuda-nvrtc-dev-10-0
41+
3442
# See http://bugs.python.org/issue19846
3543
ENV LANG C.UTF-8
3644

0 commit comments

Comments
 (0)