From 72f59787320d4d135b2a11513f00266585c8b686 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 13 May 2024 04:02:06 +0200 Subject: [PATCH] build: Declare extra variable --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99b59f0..67949a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,9 @@ ARG DEBCONF_NOWARNINGS="yes" ARG DEBIAN_FRONTEND="noninteractive" ARG DEBCONF_NONINTERACTIVE_SEEN="true" -RUN set -eu && \ - apt-get update && \ +RUN set -eu && extra="" && \ if [ "$TARGETPLATFORM" != "linux/amd64" ]; then extra="qemu-user"; fi && \ + apt-get update && \ apt-get --no-install-recommends -y install \ jq \ tini \