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

Merge pull request #27 from Peque/master

Volume compatibility with SELinux-enabled systems
This commit is contained in:
Michael Stucki 2017-01-25 23:57:58 +01:00 committed by GitHub
commit b04b1216bf

2
run.sh
View File

@ -70,7 +70,7 @@ if [[ $IS_RUNNING == "true" ]]; then
elif [[ $IS_RUNNING == "false" ]]; then
docker start -i $CONTAINER
else
docker run $PRIVILEGED -v $SOURCE:$CONTAINER_HOME/android -v $CCACHE:/srv/ccache -i -t --name $CONTAINER $REPOSITORY:$TAG
docker run $PRIVILEGED -v $SOURCE:$CONTAINER_HOME/android:Z -v $CCACHE:/srv/ccache:Z -i -t --name $CONTAINER $REPOSITORY:$TAG
fi
exit $?