From 22cba572036484f901ba00b8ff12d73f85cb17d7 Mon Sep 17 00:00:00 2001 From: tawoe Date: Mon, 12 Dec 2022 10:53:06 +0100 Subject: [PATCH] add oc container to pipeline --- .github/Dockerfile_PreBuild_OC | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/Dockerfile_PreBuild_OC diff --git a/.github/Dockerfile_PreBuild_OC b/.github/Dockerfile_PreBuild_OC new file mode 100644 index 00000000..7e2dd794 --- /dev/null +++ b/.github/Dockerfile_PreBuild_OC @@ -0,0 +1,10 @@ +FROM jetty:9.4.49-jre11-alpine + +# Copy OBP source code +# Copy build artifact (.war file) into jetty from 'maven' stage. +COPY /target/API_Explorer-1.0.war /var/lib/jetty/webapps/ROOT.war +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 +USER jetty \ No newline at end of file