sonarqube fix 19/140719/1
authorShalini Shivam <ss00765416@techmahindra.com>
Fri, 9 May 2025 07:46:59 +0000 (09:46 +0200)
committerShalini Shivam <ss00765416@techmahindra.com>
Fri, 9 May 2025 07:50:36 +0000 (09:50 +0200)
Issue-ID: POLICY-5337
Change-Id: Idfe7b51943d68694c3c54183139c76254183a5f4
Signed-off-by: Shalini Shivam <ss00765416@techmahindra.com>
Dockerfile

index 3b14c62..6bddd3c 100644 (file)
@@ -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