File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ FROM nvidia/cuda:10.2-cudnn8-devel
99MAINTAINER Changming Sun "chasun@microsoft.com"
1010ADD . /code
1111
12- ENV DEBIAN_FRONTEND=noninteractive
13- RUN apt-get update && apt-get install -y --no-install-recommends python3-dev ca-certificates g++ python3-numpy gcc make git python3-setuptools python3-wheel python3-pip unattended-upgrades
14- RUN unattended-upgrade
15-
1612ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
1713RUN apt-get update && apt-get install -y --no-install-recommends python3-dev ca-certificates g++ python3-numpy gcc make git python3-setuptools python3-wheel python3-pip aria2 && aria2c -q -d /tmp -o cmake-3.18.2-Linux-x86_64.tar.gz https://github.com/Kitware/CMake/releases/download/v3.18.2/cmake-3.18.2-Linux-x86_64.tar.gz && tar -zxf /tmp/cmake-3.18.2-Linux-x86_64.tar.gz --strip=1 -C /usr
1814
@@ -21,4 +17,5 @@ RUN cd /code && /bin/bash ./build.sh --skip_submodule_sync --cuda_home /usr/loca
2117FROM nvidia/cuda:10.2-cudnn8-runtime
2218COPY --from=0 /code/build/Linux/Release/dist /root
2319COPY --from=0 /code/dockerfiles/LICENSE-IMAGE.txt /code/LICENSE-IMAGE.txt
24- RUN apt-get update && apt-get install -y --no-install-recommends libstdc++6 ca-certificates python3-setuptools python3-wheel python3-pip && python3 -m pip install /root/*.whl && rm -rf /root/*.whl
20+ ENV DEBIAN_FRONTEND=noninteractive
21+ RUN apt-get update && apt-get install -y --no-install-recommends libstdc++6 ca-certificates python3-setuptools python3-wheel python3-pip unattended-upgrades && unattended-upgrade && python3 -m pip install /root/*.whl && rm -rf /root/*.whl
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ RUN cd /code && /bin/bash ./build.sh --skip_submodule_sync --use_openmp --config
1717FROM ubuntu:18.04
1818COPY --from=0 /code/build/Linux/Release/dist /root
1919COPY --from=0 /code/dockerfiles/LICENSE-IMAGE.txt /code/LICENSE-IMAGE.txt
20- RUN apt-get update && apt-get install -y --no-install-recommends libstdc++6 libgomp1 ca-certificates python3-setuptools python3-wheel python3-pip && python3 -m pip install /root/*.whl && rm -rf /root/*.whl
20+ RUN apt-get update && apt-get install -y --no-install-recommends libstdc++6 libgomp1 ca-certificates python3-setuptools python3-wheel python3-pip unattended-upgrades && unattended-upgrade && python3 -m pip install /root/*.whl && rm -rf /root/*.whl
You can’t perform that action at this time.
0 commit comments