chore: add fix-missing to apt update in docker (#3796)
This commit is contained in:
parent
45df4f6dfd
commit
92f0ff6861
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue