bitnami-containers/bitnami/tomcat/8.5/rootfs/app-entrypoint.sh

15 lines
268 B
Bash
Executable File

#!/bin/bash -e
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers
print_welcome_page
check_for_updates &
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
nami_initialize tomcat
info "Starting tomcat... "
fi
exec tini -- "$@"