Explorar o código

fix(base) configure debconf to use a non-interactive frontend

Saúl Ibarra Corretgé hai 2 meses
pai
achega
52fdec79f3
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 0
      base/Dockerfile
  2. 0 1
      base/rootfs/usr/bin/apt-dpkg-wrap

+ 1 - 0
base/Dockerfile

@@ -6,6 +6,7 @@ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
 COPY rootfs /
 
 RUN \
+    dpkg-reconfigure debconf --frontend=noninteractive && \
     dpkgArch="$(dpkg --print-architecture)" && \
     case "${dpkgArch##*-}" in \
         "amd64") TPL_ARCH=amd64; S6_ARCH=amd64 ;; \

+ 0 - 1
base/rootfs/usr/bin/apt-dpkg-wrap

@@ -1,7 +1,6 @@
 #!/bin/sh
 
 export LC_ALL=C
-export DEBIAN_FRONTEND=noninteractive
 
 bin=$1
 shift