mirror of
https://github.com/stucki/docker-lineageos
synced 2025-01-09 17:39:47 -05:00
run.sh: Always start bash in a screen
This commit is contained in:
parent
209f4af1dc
commit
e69484fcde
2
run.sh
2
run.sh
@ -8,6 +8,6 @@ REPOSITORY=stucki/cyanogenmod
|
|||||||
|
|
||||||
test -d $SOURCE || mkdir $SOURCE
|
test -d $SOURCE || mkdir $SOURCE
|
||||||
|
|
||||||
docker start -i $CONTAINER 2>/dev/null || docker run -v $SOURCE:/home/cmbuild/android -i -t -name $CONTAINER $REPOSITORY sh -c "exec >/dev/tty 2>/dev/tty </dev/tty && /bin/bash"
|
docker start -i $CONTAINER 2>/dev/null || docker run -v $SOURCE:/home/cmbuild/android -i -t -name $CONTAINER $REPOSITORY sh -c "exec >/dev/tty 2>/dev/tty </dev/tty && screen -s /bin/bash"
|
||||||
|
|
||||||
exit $?
|
exit $?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user