Unverified Commit e18adcf2 authored by Guiorgy's avatar Guiorgy Committed by meskio
Browse files

set the debconf frontend to noninteractive

this avoids the unnecessary warnings from debconf when executing apt-get commands
parent 055fb1b0
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ LABEL maintainer="meskio <meskio@torproject.org>"
RUN groupadd -g $GID debian-tor
RUN useradd -m -u $UID -g $GID -s /bin/false -d /var/lib/tor debian-tor

RUN apt-get update && apt-get install -y \
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
    ca-certificates \
    libcap2-bin \
    --no-install-recommends && \
@@ -24,7 +24,7 @@ RUN apt-get update && apt-get install -y \

COPY deb.torproject.org.gpg /usr/share/keyrings/
RUN printf "deb [signed-by=/usr/share/keyrings/deb.torproject.org.gpg] https://deb.torproject.org/torproject.org stable main\n" > /etc/apt/sources.list.d/tor.list
RUN apt-get update && apt-get install -y \
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
    tor \
    tor-geoipdb \
    --no-install-recommends && \