From 156fa6ecdd1a5c259a6169fe57f4ba245d300e60 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 8 Jan 2024 20:50:12 +0100 Subject: [PATCH] wip (testing Docker create image) --- .github/Dockerfile_PreBuild_OC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/Dockerfile_PreBuild_OC b/.github/Dockerfile_PreBuild_OC index 52ac0a228..bcec3e591 100644 --- a/.github/Dockerfile_PreBuild_OC +++ b/.github/Dockerfile_PreBuild_OC @@ -1,7 +1,8 @@ FROM jetty:9.4-jdk11-alpine # Copy build artifact (.war file) into jetty from 'maven' stage. COPY /obp-api/target/obp-api-1.*.war /var/lib/jetty/webapps/ROOT.war -RUN cd ../../../.github && jar uvf root.war WEB-INF/classes/logback.xml +RUN echo $(pwd) +RUN cd ../../.github && jar uvf root.war WEB-INF/classes/logback.xml USER root RUN chgrp -R 0 /tmp/jetty && chmod -R g+rwX /tmp/jetty RUN chgrp -R 0 /var/lib/jetty && chmod -R g+rwX /var/lib/jetty