-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sonar): bump CLI from 5.0.1.3006 to 6.1.0.4477
- Loading branch information
Showing
3 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
FROM alpine:3.20.2 | ||
FROM alpine:3.20.2 as base | ||
LABEL maintainer="[email protected]" | ||
|
||
ARG SONARSCANNER_VERSION | ||
ARG GLIBC_VERSION | ||
ARG ZLIB_VERSION | ||
|
||
ENV PATH=/sonar-scanner/bin:/sonar-scanner/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
|
||
ARG GLIBC_VERSION | ||
ARG SONARSCANNER_VERSION | ||
ARG ZLIB_VERSION | ||
FROM base as base-amd64 | ||
ARG SONARSCANNER_ARCH="linux-x64" | ||
|
||
FROM base as base-arm64 | ||
ARG SONARSCANNER_ARCH="linux-aarch64" | ||
|
||
FROM base-$TARGETARCH | ||
RUN echo "Starting ..." && \ | ||
apk --update upgrade && apk add curl make tzdata unzip && \ | ||
echo "Done base install!" && \ | ||
|
@@ -21,7 +26,7 @@ RUN echo "Starting ..." && \ | |
mkdir /tmp/libz && \ | ||
tar -xf /tmp/libz.tar.xz -C /tmp/libz && \ | ||
mv /tmp/libz/usr/lib/libz.so* /usr/glibc-compat/lib && \ | ||
curl -o ./sonarscanner.zip -L https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONARSCANNER_VERSION}-linux.zip && \ | ||
curl -o ./sonarscanner.zip -L https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONARSCANNER_VERSION}-${SONARSCANNER_ARCH}.zip && \ | ||
unzip sonarscanner.zip && \ | ||
rm sonarscanner.zip && \ | ||
mv sonar-scanner-${SONARSCANNER_VERSION}-linux sonar-scanner && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters