diff options
author | nicolargo <nicolas@nicolargo.com> | 2023-03-12 10:02:00 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2023-03-12 10:02:00 +0100 |
commit | 28b46a72a42949fd5e81396c65a4797a06db69a3 (patch) | |
tree | 07f7f42f31ea1af3acbf5dd2c23d79ee7bc7caeb /docker-files | |
parent | 43291246de969abef0acfcc9fe1841cd0ac95d9c (diff) |
Avoid interaction in the Docker build process for Ubuntu images
Diffstat (limited to 'docker-files')
-rw-r--r-- | docker-files/ubuntu.Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker-files/ubuntu.Dockerfile b/docker-files/ubuntu.Dockerfile index 4f0383f3..f35e8d13 100644 --- a/docker-files/ubuntu.Dockerfile +++ b/docker-files/ubuntu.Dockerfile @@ -13,6 +13,8 @@ ARG PYTHON_VERSION=3.10 ARG PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/ FROM nvidia/cuda:${IMAGE_VERSION} as build +ARG DEBIAN_FRONTEND=noninteractive + RUN apt-get update \ && apt-get install -y --no-install-recommends \ python3 \ @@ -93,7 +95,6 @@ FROM nvidia/cuda:${IMAGE_VERSION} as minimal ARG PYTHON_VERSION ARG DEBIAN_FRONTEND=noninteractive -ENV TZ=Asia/Shanghai RUN apt-get update \ && apt-get install -y --no-install-recommends \ |