1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-12-22 08:48:54 +00:00

add openshift permission

This commit is contained in:
Hans 2022-11-07 12:33:47 +01:00 committed by PlantUML
parent 052a7ea96f
commit a0ed47b51c

View File

@ -36,3 +36,7 @@ RUN rm -rf $WEBAPP_PATH && \
COPY --from=builder /app/target/plantuml.war $WEBAPP_PATH/ROOT.war COPY --from=builder /app/target/plantuml.war $WEBAPP_PATH/ROOT.war
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
# Openshift https://docs.openshift.com/container-platform/4.9/openshift_images/create-images.html#images-create-guide-openshift_create-images
USER root
RUN chgrp -R 0 $JETTY_BASE && chmod -R g=u $JETTY_BASE
RUN chgrp -R 0 /tmp && chmod -R g=u /tmp