1
0
mirror of https://github.com/stucki/docker-lineageos synced 2025-01-23 17:51:07 -05:00
docker-lineageos/startup.sh

15 lines
334 B
Bash
Raw Normal View History

2015-03-16 10:19:07 +01:00
#!/bin/sh
# Initialize ccache if needed
2017-05-30 19:24:02 +02:00
if [ ! -f ${CCACHE_DIR}/ccache.conf ]; then
2015-03-15 17:30:34 +01:00
echo "Initializing ccache in /srv/ccache..."
2017-05-30 19:24:02 +02:00
ccache -M ${CCACHE_SIZE}
fi
# in Docker, the USER variable is unset by default
# but some programs (like jack toolchain) rely on it
export USER="$(whoami)"
2016-03-14 01:12:25 +01:00
# Launch screen session
screen -s /bin/bash