From 87c95e486a5dfdc7431dd47e2e11a93c4f450310 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Wed, 1 Dec 2021 05:34:30 +0800 Subject: [PATCH] Workaround act issue 896 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index c9e3286..218a4e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,9 @@ WORKDIR /opt # https://help.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user USER root +# Workaround https://github.com/nektos/act/issues/896 +RUN ln -s $SONAR_SCANNER_HOME/bin/sonar-scanner /usr/local/bin/sonar-scanner + # Prepare entrypoint COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh