Skip to content

Commit

Permalink
SCSCANGHA-5 Update the base image
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-vinot-sonarsource committed May 22, 2024
1 parent f1d5a2a commit a69a8ed
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM sonarsource/sonar-scanner-cli:5.0
FROM sonarsource/sonar-scanner-cli:10.0

LABEL version="0.0.1" \
LABEL version="2.2.0" \
repository="https://github.com/sonarsource/sonarcloud-github-action" \
homepage="https://github.com/sonarsource/sonarcloud-github-action" \
maintainer="SonarSource" \
Expand All @@ -19,9 +19,14 @@ ENV LC_ALL="C.UTF-8"

WORKDIR /opt

# GitHub actions should be run under ROOT
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#docker-container-filesystem
USER 0

# Prepare entrypoint
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY cleanup.sh /cleanup.sh
RUN chmod +x /cleanup.sh

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit a69a8ed

Please sign in to comment.