Dockerfile: Run upgrade before installing packages (arm64)

This commit is contained in:
Michael Mayer 2020-11-16 18:13:32 +01:00
parent ab96c02eeb
commit 82c7a46fa6

View File

@ -120,7 +120,7 @@ RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/80forceyes
RUN echo 'APT::Get::Fix-Missing "true";' > /etc/apt/apt.conf.d/80fixmissin
# Install additional distribution packages
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN apt-get update && apt-get upgrade && apt-get install -y --no-install-recommends \
ca-certificates \
tzdata \
libheif-examples \
@ -129,8 +129,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
rawtherapee \
exiftool \
ffmpeg && \
apt-get update && \
apt-get upgrade && \
apt-get dist-upgrade && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*