Files
Iris/docker/entrypoint.sh
2021-10-30 13:58:26 +02:00

15 lines
326 B
Bash
Executable File

#!/bin/bash
if [ -z "$PULSE_COOKIE_DATA" ]
then
echo -ne $(echo $PULSE_COOKIE_DATA | sed -e 's/../\\x&/g') >$HOME/pulse.cookie
export PULSE_COOKIE=$HOME/pulse.cookie
fi
if [ ${PIP_PACKAGES:+x} ]; then
echo "-- INSTALLING PIP PACKAGES $PIP_PACKAGES --"
python3 -m pip install --no-cache $PIP_PACKAGES
fi
exec "$@"