1
0
mirror of https://github.com/stucki/docker-lineageos synced 2025-01-09 17:39:47 -05:00
This commit is contained in:
Michael Stucki 2016-04-04 20:23:24 +02:00
parent cab01da63c
commit 31e1dedcf5
3 changed files with 15 additions and 19 deletions

View File

@ -24,7 +24,7 @@ cd docker-cyanogenmod
The `run.sh` script accepts the following switches:
* -u|--enable-usb - runs the container in privileged mode (this way you can use usb debugging right from the container)
* -u|--enable-usb - runs the container in privileged mode (this way you can use adb right from the container)
* -r|--rebuild - force rebuild the image from scratch
The container uses "screen" to run the shell. This means that you will be able to open additional shells using [screen keyboard shortcuts][Screen_Shortcuts].

5
run.sh
View File

@ -11,10 +11,8 @@ TAG=cm-13.0
FORCE_BUILD=0
PRIVILEGED=
while [[ $# > 0 ]]
do
while [[ $# > 0 ]]; do
key="$1"
case $key in
-r|--rebuild)
FORCE_BUILD=1
@ -27,7 +25,6 @@ case $key in
;;
esac
shift
done
# Create shared folders

View File

@ -9,5 +9,4 @@ fi
export USER="cmbuild"
# Launch screen session
#/bin/bash --login
screen -s /bin/bash