Android SDK with nativescript tool for continuous build of nativescript project
295
docker pull rwstauner/nativescript
docker tag rwstauner/nativescript nativescript
git clone [email protected]:rwstauner/docker-nativescript.git
cd docker-nativescript
docker build -t nativescript .
alias tns='docker run -it --rm --device=/dev/bus/usb:/dev/bus/usb -v $HOME/.local/share/.nativescript-cli:/root/.local/share/.nativescript-cli -v $HOME/.android:/root/.android -v $HOME/.gradle:/root/.gradle -v $PWD:/src -e TERM=$TERM nativescript tns'
The alias command lets you use tns for running any command inside the nativescript container.
NOTE: This (the /dev/bus/usb trick) only works on a Linux host with an
Android device plugged in via USB (with USB Debugging enabled).
tns create hello
cd hello
tns platform add android
tns run android
Inspired by:
Content type
Image
Digest
Size
2.1 GB
Last updated
over 9 years ago
docker pull atende/nativescript