1
0
mirror of https://github.com/stucki/docker-lineageos synced 2025-01-09 17:39:47 -05:00
docker-lineageos/startup.sh

15 lines
334 B
Bash

#!/bin/sh
# Initialize ccache if needed
if [ ! -f ${CCACHE_DIR}/ccache.conf ]; then
echo "Initializing ccache in /srv/ccache..."
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)"
# Launch screen session
screen -s /bin/bash