1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2025-01-02 20:50:15 +00:00

add openshift permission

This commit is contained in:
Hans 2022-11-07 12:35:38 +01:00 committed by PlantUML
parent 7285ce1cc8
commit dcd4436fcf

View File

@ -28,3 +28,6 @@ COPY --from=builder /app/target/plantuml.war $WEBAPP_PATH/ROOT.war
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["catalina.sh", "run"] CMD ["catalina.sh", "run"]
# 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 $$CATALINA_HOME && chmod -R g=u $CATALINA_HOME