Docker: allow "releaseinfo-change" for apt-get update

This commit is contained in:
Christian Poessinger 2021-09-07 11:51:14 +02:00 committed by GitHub
parent cdc8bc1520
commit 0f34e1b71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,9 @@ RUN echo "dash dash/sh boolean false" | debconf-set-selections && \
RUN echo -e 'APT::Install-Recommends "0";\nAPT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01norecommends
# We now have Debian Bullseye (11) so cached images require the permit to
# change the releaseinfo from stable -> oldstable
RUN apt-get update --allow-releaseinfo-change
RUN apt-get update && apt-get install -y \
dialog \
apt-utils \