Update symlink path for Sonar Scanner in Dockerfile
Corrected the symlink path to align with the extracted directory name. This ensures the Sonar Scanner binary is properly accessible from the expected location.
This commit is contained in:
parent
2f3f02ae5a
commit
bd53914cc3
1 changed files with 1 additions and 1 deletions
|
@ -7,5 +7,5 @@ RUN apt-get update && \
|
|||
cd /root/ && \
|
||||
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-7.1.0.4889-linux-x64.zip && \
|
||||
unzip sonar-scanner-cli-7.1.0.4889-linux-x64.zip && \
|
||||
ln -sf /root/sonar-scanner-cli-7.1.0.4889-linux-x64/bin/sonar-scanner /usr/local/bin/sonar-scanner && \
|
||||
ln -sf /root/sonar-scanner-7.1.0.4889-linux-x64/bin/sonar-scanner /usr/local/bin/sonar-scanner && \
|
||||
/usr/local/bin/sonar-scanner --version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue