# Wait for MSB initialization
echo "Wait for MSB initialization"
for i in {1..5}; do
- curl -sS -m 1 ${OPENPALETTE_MSB_IP}:${OPENPALETTE_MSB_PORT} > /dev/null && break
+ curl -sS -m 1 $OPENPALETTE_MSB_IP:$OPENPALETTE_MSB_PORT > /dev/null && break
sleep $i
done
"start" )
# we can modify files here, using ENV variables passed in
# "docker create" command. It can't be done during build process.
- exec ./run.sh
+ exec ./run.sh ${OPENPALETTE_MSB_IP} ${OPENPALETTE_MSB_PORT}
;;
* )
# Run custom command. Thanks to this line we can still use