Create entrypoint.sh
This commit is contained in:
parent
aeac09ca25
commit
c3d35bd607
11
entrypoint.sh
Normal file
11
entrypoint.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
sleep 3
|
||||
|
||||
cd /home/container
|
||||
|
||||
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||
|
||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
||||
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||
|
||||
${MODIFIED_STARTUP}
|
||||
Loading…
Reference in New Issue
Block a user