mirror of
https://github.com/stucki/docker-lineageos
synced 2025-01-09 17:39:47 -05:00
Cleanup
This commit is contained in:
parent
cab01da63c
commit
31e1dedcf5
@ -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
5
run.sh
@ -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
|
||||
|
@ -9,5 +9,4 @@ fi
|
||||
export USER="cmbuild"
|
||||
|
||||
# Launch screen session
|
||||
#/bin/bash --login
|
||||
screen -s /bin/bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user