Files
yolks/mono/entrypoint.sh
Torsten Widmann 5bbef80956 Add mono latest and libfreetype6 to java (#18)
Changes codestyle of Java images
2021-11-12 13:04:16 +02:00

13 lines
341 B
Bash

#!/bin/bash
cd /home/container
# Make internal Docker IP address available to processes.
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
# Replace Startup Variables
MODIFIED_STARTUP="eval $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')"
echo ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
${MODIFIED_STARTUP}