From 5c2f7d2ca8f064c7a1bc1dacc14aac4123a88c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Zdanikowski?= Date: Mon, 19 Apr 2021 08:39:22 +0200 Subject: [PATCH] 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 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7b47568..c9e3286 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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