From: Shalini Shivam Date: Fri, 9 May 2025 07:46:59 +0000 (+0200) Subject: sonarqube fix X-Git-Tag: 1.0.5~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=995735dc376313e098074b134a12cb484370c954;p=policy%2Fopa-pdp.git sonarqube fix Issue-ID: POLICY-5337 Change-Id: Idfe7b51943d68694c3c54183139c76254183a5f4 Signed-off-by: Shalini Shivam --- diff --git a/Dockerfile b/Dockerfile index 3b14c62..6bddd3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,8 +63,8 @@ COPY --from=compile /app /app # Copy our opa executable from build stage COPY --from=build /tmp/opa /app/opa -RUN chown 1000:1000 /app/opa-pdp && chown 1000:1000 /app/opa && chown 1000:1000 /app/bundles -RUN chmod u+x /app/opa-pdp && chmod u+x /app/opa && chmod u+x /app/bundles +RUN chown 1000:1000 /app/opa-pdp && chown 1000:1000 /app/opa && chown 1000:1000 /app/bundles\ + && chmod u+x /app/opa-pdp && chmod u+x /app/opa && chmod u+x /app/bundles # Switch to the non-root user and 1000 is for ubuntu