Skip to content

Commit

Permalink
Override permission on script files
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-vinot-sonarsource committed May 15, 2024
1 parent 00a7a73 commit 6b5d750
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Assert
run: |
ls -la ./test
./test/assertFileContains ./output.properties "sonar.projectBaseDir=.*/baseDir"
./test/assertFileContains.sh ./output.properties "sonar.projectBaseDir=.*/baseDir"
# sonarHostUrlRequiredTest:
# name: >
# 'SONAR_HOST_URL' is required
Expand Down
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ ENV LC_ALL="C.UTF-8"

WORKDIR /opt

USER 0
USER root

COPY test/assertFileExists.sh /test/assertFileExists.sh
COPY test/assertFileContains.sh /test/assertFileContains.sh
RUN chmod 755 /test/assertFileExists.sh
RUN chmod 755 /test/assertFileContains.sh

# Prepare entrypoint
COPY entrypoint.sh /entrypoint.sh
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 6b5d750

Please sign in to comment.