feat: support deep base URLs

This commit is contained in:
Florian Greinacher
2023-01-25 16:35:10 +01:00
committed by PlantUML
parent 6d90304fd7
commit afd8bbcceb
5 changed files with 36 additions and 13 deletions

14
docker-entrypoint.jetty.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
# cspell:words mkdir
# cspell:enableCompoundWords
###########################################################
# ensure context path starts with a slash
export CONTEXT_PATH="/${BASE_URL#'/'}"
# base image entrypoint
if [ -x /docker-entrypoint.sh ]; then
/docker-entrypoint.sh "$@"
else
exec "$@"
fi