chore: add fix-missing to apt update in docker (#3796)

This commit is contained in:
Nicolas Giard 2022-04-07 17:16:39 -04:00 committed by GitHub
parent 45df4f6dfd
commit 92f0ff6861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/d
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
# Install the packages we need
RUN apt-get update
RUN apt-get update --fix-missing
RUN apt-get install -qy \
apache2-utils \
apt-file \

View file

@ -18,7 +18,7 @@ RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /
RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
RUN apt-get update
RUN apt-get update --fix-missing
# apt-get upgrade is normally not a good idea, but this is a dev container
RUN apt-get -qy upgrade