Set up locale env variables (#14)

Setting those variables fixes the issue that sonar has with non-asci chars in filenames

Co-authored-by: Tom <tom.vanbraband@sonarsource.com>
This commit is contained in:
Łukasz Zdanikowski 2021-04-19 08:39:22 +02:00 committed by GitHub
commit 5c2f7d2ca8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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