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:
commit
b04b1216bf
2
run.sh
2
run.sh
@ -70,7 +70,7 @@ if [[ $IS_RUNNING == "true" ]]; then
|
|||||||
elif [[ $IS_RUNNING == "false" ]]; then
|
elif [[ $IS_RUNNING == "false" ]]; then
|
||||||
docker start -i $CONTAINER
|
docker start -i $CONTAINER
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
exit $?
|
exit $?
|
||||||
|
Loading…
Reference in New Issue
Block a user