diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-07 11:51:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 11:51:14 +0200 |
commit | 0f34e1b71b090d0e8af56dd2a769ac329cdc44ef (patch) | |
tree | 7771bd20ba6255b4f679e5173e919d8ba189ae6c /docker/Dockerfile | |
parent | cdc8bc1520acd8a4ab64ef6c14b8ed445fb7ee89 (diff) | |
download | vyos-build-0f34e1b71b090d0e8af56dd2a769ac329cdc44ef.tar.gz vyos-build-0f34e1b71b090d0e8af56dd2a769ac329cdc44ef.zip |
Docker: allow "releaseinfo-change" for apt-get update
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 21cdd9e8..ba3cb94d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 \ |