1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00
docker-lineageos/startup.sh

15 lines
334 B
Bash
Raw Permalink Normal View History

2015-03-16 05:19:07 -04:00
#!/bin/sh
# Initialize ccache if needed
2017-05-30 13:24:02 -04:00
if [ ! -f ${CCACHE_DIR}/ccache.conf ]; then
2015-03-15 12:30:34 -04:00
echo "Initializing ccache in /srv/ccache..."
2017-05-30 13:24:02 -04: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-13 20:12:25 -04:00
# Launch screen session
screen -s /bin/bash