From bd192cbb387c203f75d1bf1c4f4098aebeecc0f3 Mon Sep 17 00:00:00 2001 From: Yunfeng Bai <83252681+yunfeng-scale@users.noreply.github.com> Date: Tue, 4 Jun 2024 10:15:33 -0700 Subject: [PATCH] Non-interactive installation during docker build (#533) --- .../model_engine_server/inference/pytorch_or_tf.base.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model-engine/model_engine_server/inference/pytorch_or_tf.base.Dockerfile b/model-engine/model_engine_server/inference/pytorch_or_tf.base.Dockerfile index 8d8d33786..459fdaee7 100644 --- a/model-engine/model_engine_server/inference/pytorch_or_tf.base.Dockerfile +++ b/model-engine/model_engine_server/inference/pytorch_or_tf.base.Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app # TODO: ffmpeg, libsm6, and lixext6 are essentially hardcoded from lidar. # It's probably more correct to add support for arbitrary user-specified base images, # otherwise this base image gets bloated over time. -RUN apt-get update && apt-get install -y \ +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ apt-utils \ dumb-init \ git \