build: Remove apt-get upgrade (#543)

This commit is contained in:
Kroese 2024-01-06 03:17:50 +01:00 committed by GitHub
parent c28dbb6b9b
commit b9ae73e322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,8 @@ ARG TARGETPLATFORM
ARG DEBCONF_NOWARNINGS="yes" ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND noninteractive ARG DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y upgrade \ RUN if [ "$TARGETPLATFORM" != "linux/amd64" ]; then extra="qemu-user"; fi \
&& if [ "$TARGETPLATFORM" != "linux/amd64" ]; then extra="qemu-user"; fi \ && apt-get update \
&& apt-get --no-install-recommends -y install \ && apt-get --no-install-recommends -y install \
jq \ jq \
tini \ tini \