From cb635c9cc94578dd711e71884978d5886ad2ed18 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 8 Jan 2024 22:40:01 +0100 Subject: [PATCH] wip --- .github/Dockerfile_PreBuild_OC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/Dockerfile_PreBuild_OC b/.github/Dockerfile_PreBuild_OC index 0dc7ee691f..c8cf7ad5cc 100644 --- a/.github/Dockerfile_PreBuild_OC +++ b/.github/Dockerfile_PreBuild_OC @@ -1,10 +1,10 @@ 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 +USER root RUN mkdir -p /WEB-INF/classes COPY .github/logback.xml /WEB-INF/classes/ RUN cd / && jar uvf /var/lib/jetty/webapps/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 RUN chgrp -R 0 /usr/local/jetty && chmod -R g+rwX /usr/local/jetty