From 2f739de6d338248095bc4d2b2d10dc1e8daad7bb Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 23 Apr 2023 20:20:47 +0200 Subject: [PATCH] DEBCONF_NOWARNINGS --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99907d9..7d38aae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,11 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /src/serial/main FROM debian:bookworm-slim -RUN export DEBIAN_FRONTEND=noninteractive && \ - apt-get update && apt-get -y upgrade && \ - apt-get --no-install-recommends -y install \ +ARG DEBCONF_NOWARNINGS="yes" +ARG DEBIAN_FRONTEND noninteractive + +RUN apt-get update && apt-get -y upgrade && \ + apt-get --no-install-recommends -y install \ curl \ cpio \ wget \