summaryrefslogtreecommitdiffstats
path: root/docker-files
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2023-03-12 10:02:00 +0100
committernicolargo <nicolas@nicolargo.com>2023-03-12 10:02:00 +0100
commit28b46a72a42949fd5e81396c65a4797a06db69a3 (patch)
tree07f7f42f31ea1af3acbf5dd2c23d79ee7bc7caeb /docker-files
parent43291246de969abef0acfcc9fe1841cd0ac95d9c (diff)
Avoid interaction in the Docker build process for Ubuntu images
Diffstat (limited to 'docker-files')
-rw-r--r--docker-files/ubuntu.Dockerfile3
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 \