Public | Automated Build

Last pushed: 5 months ago
Short Description
Docker image for {N}-cli
Full Description

docker-nativescript-cli

This Docker Image allows you to build and run Android apps created by using NativeScript development environment. Take a look around and feel free to suggest improvements.

Dependencies Version
NativeScript 3.0.0
Android SDK Tools 25.2.3
Android SDK Build Tools 25.0.2
Android APIs 21 22 23 24 25
NodeJS v7
Java OpenJDK 8
Ubuntu latest

Getting Started

Connect an Android device to your host by making sure USB debbugging mode is enabled. Then run following command and get an Hello World running on your device:

docker run -it --rm --privilged niccolomeloni/docker-nativescript-cli \
-v /dev/bus/usb:/dev/bus/usb \
bash -c "tns create hello && cd hello && tns platform add android && tns run android"

CLI

Copy tns file into /usr/local/bin/ path and make it executable in order to get the NativeScript CLI ready to use.

Development

Development environment is available by using Docker-Compose. Add docker-compose.yml file to your project and run docker-compose up in order to get a live sync environment ready to use.

License

This project is licensed under the MIT license by Niccolò Meloni.

Known issue

  • This project does not provide support to Android emulator. In order to run your application you have to use a real device.

TODO

  • Add build details
Docker Pull Command
Owner
niccolomeloni

Comments (0)