From 1018079cb0c672a3bee572196d69b87e65c42521 Mon Sep 17 00:00:00 2001 From: Dominik Lammers Date: Wed, 20 Sep 2023 18:02:15 +0200 Subject: [PATCH] fix: Consider package dependencies --- capella/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/capella/Dockerfile b/capella/Dockerfile index ec43e784..08004296 100644 --- a/capella/Dockerfile +++ b/capella/Dockerfile @@ -18,10 +18,11 @@ ONBUILD USER root # Install WebKit with GTK ONBUILD COPY libs /tmp/libs ONBUILD ARG INJECT_PACKAGES=false +# hadolint ignore=SC2046 ONBUILD RUN if [ "$INJECT_PACKAGES" = "true" ]; then \ apt-get update && \ # Inject old packages manually - find /tmp/libs -iname "*.deb" -exec apt-get install -y {} \; ; \ + apt-get install -y $(find /tmp/libs -iname "*.deb"); \ rm -rf /var/lib/apt/lists/*; \ rm -r /tmp/libs; \ else \