Ver Fonte

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

Saúl Ibarra Corretgé há 2 meses atrás
pai
commit
52fdec79f3
2 ficheiros alterados com 1 adições e 1 exclusões
  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