Skip to content

Commit

Permalink
Set up locale env variables (#14)
Browse files Browse the repository at this point in the history
Setting those variables fixes the issue that sonar has with non-asci chars in filenames

Co-authored-by: Tom <tom.vanbraband@sonarsource.com>
  • Loading branch information
1 parent de2e56b commit 5c2f7d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ ARG NODEJS_HOME=/opt/nodejs

ENV PATH=${PATH}:${SONAR_SCANNER_HOME}/bin:${NODEJS_HOME}/bin

# set up local envs in order to allow for special chars (non-asci) in filenames
ENV LC_ALL="C.UTF-8"

WORKDIR /opt

# https://help.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user
Expand Down

0 comments on commit 5c2f7d2

Please sign in to comment.