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 \