From a0ceb1a7a29dc75d237875b75928a7b8cd19c322 Mon Sep 17 00:00:00 2001 From: Pipin Fitriadi Date: Sat, 24 Feb 2024 10:52:47 +0700 Subject: [PATCH] fix: docker build [16.04] debconf: delaying package configuration, since apt-utils is not installed #319: https://github.com/phusion/baseimage-docker/issues/319 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 05e4f75..c489000 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,10 @@ FROM python:3.8-slim-buster AS venv LABEL maintainer=pipinfitriadi@gmail.com +ENV DEBIAN_FRONTEND noninteractive +ENV DEBCONF_NOWARNINGS="yes" RUN --mount=type=cache,target=/var/cache/apt \ apt-get update && \ - export DEBIAN_FRONTEND=noninteractive && \ apt-get install -y \ git \ # For Python Lib: mysqlclient