From 8d2e22558d6cf75530e581295daee579f20b9f89 Mon Sep 17 00:00:00 2001 From: George Wu Date: Sat, 15 Aug 2020 01:12:27 +0000 Subject: [PATCH] unattended-upgrades (#4804) --- dockerfiles/Dockerfile.cuda | 3 ++- dockerfiles/Dockerfile.tensorrt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dockerfiles/Dockerfile.cuda b/dockerfiles/Dockerfile.cuda index a132b7b559..b17bae31cd 100644 --- a/dockerfiles/Dockerfile.cuda +++ b/dockerfiles/Dockerfile.cuda @@ -12,7 +12,8 @@ ARG ONNXRUNTIME_REPO=https://github.com/Microsoft/onnxruntime ARG ONNXRUNTIME_BRANCH=master RUN apt-get update &&\ - apt-get install -y sudo git bash + apt-get install -y sudo git bash unattended-upgrades +RUN unattended-upgrade WORKDIR /code ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:/code/cmake-3.14.3-Linux-x86_64/bin:/opt/miniconda/bin:${PATH} diff --git a/dockerfiles/Dockerfile.tensorrt b/dockerfiles/Dockerfile.tensorrt index fff01610c5..2ea672c3cb 100644 --- a/dockerfiles/Dockerfile.tensorrt +++ b/dockerfiles/Dockerfile.tensorrt @@ -12,7 +12,8 @@ ARG ONNXRUNTIME_REPO=https://github.com/Microsoft/onnxruntime ARG ONNXRUNTIME_BRANCH=master RUN apt-get update &&\ - apt-get install -y sudo git bash + apt-get install -y sudo git bash unattended-upgrades +RUN unattended-upgrade WORKDIR /code ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:/code/cmake-3.14.3-Linux-x86_64/bin:/opt/miniconda/bin:${PATH}