From aacf70657a6a4400ccc9c3ebdb4509c95f37ea18 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 4 Jul 2026 20:36:22 +0200 Subject: [PATCH] build: Use heredoc for Dockerfile commands (#1795) --- Dockerfile | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 39e7093..df07776 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,19 +13,25 @@ ARG DEBCONF_NOWARNINGS="yes" ARG DEBIAN_FRONTEND="noninteractive" ARG DEBCONF_NONINTERACTIVE_SEEN="true" -RUN set -eu && \ - apt-get update && \ - apt-get --no-install-recommends -y install \ - samba \ - wimtools \ - dos2unix \ - cabextract \ - libxml2-utils \ - libarchive-tools && \ - wget "https://github.com/gershnik/wsdd-native/releases/download/v${VERSION_WSDD}/wsddn_${VERSION_WSDD}_${TARGETARCH}.deb" -O /tmp/wsddn.deb -q --timeout=10 && \ - dpkg -i /tmp/wsddn.deb && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* +RUN <