docker-scripts/linux/ecosystem/atlassian/crowd/5/5.1.1/entrypoint.py

14 lines
411 B
Python
Executable File

#!/usr/bin/python3 -B
from entrypoint_helpers import env, gen_cfg, gen_container_id, exec_app
RUN_USER = env['run_user']
RUN_GROUP = env['run_group']
CROWD_INSTALL_DIR = env['crowd_install_dir']
CROWD_HOME = env['crowd_home']
gen_cfg('server.xml.j2', f'{CROWD_INSTALL_DIR}/apache-tomcat/conf/server.xml')
exec_app([f'{CROWD_INSTALL_DIR}/start_crowd.sh', '-fg'], CROWD_HOME, name='Crowd', env_cleanup=True)