From 79cbc7a50a3816a69ef6447094fa5ee1ffd9d91f Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 20 May 2024 12:07:03 +0200 Subject: [PATCH] SCANDOCKER-9 Replace Busybox tar by GNU tar --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f1496b4..5f1ce53 100755 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN set -eux; \ addgroup -S -g 1000 scanner-cli; \ adduser -S -D -u 1000 -G scanner-cli scanner-cli; \ apk add --no-cache --virtual build-dependencies wget unzip gnupg; \ - apk add --no-cache git bash shellcheck "nodejs>=18" openjdk17-jre musl-locales musl-locales-lang; \ + apk add --no-cache git bash shellcheck "nodejs>=18" openjdk17-jre musl-locales musl-locales-lang tar; \ wget -U "scannercli" -q -O /opt/sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_VERSION}.zip; \ wget -U "scannercli" -q -O /opt/sonar-scanner-cli.zip.asc https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_VERSION}.zip.asc; \ for server in $(shuf -e hkps://keys.openpgp.org \