Public Repository

Last pushed: 2 years ago
Short Description
Docker container for NativeScript development
Full Description

Why?

I don't want to install and configure Java, Android SDK, Ant, cordova etc.. life is too short.

Setup

git clone git@github.com:oren/docker-nativescript.git
cd docker-nativescript
docker build -t nativescript .
alias tns='docker run -it --rm --privileged -v /dev/bus/usb:/dev/bus/usb -v $PWD:/src nativescript tns'

The alias command lets you use tns for running any command inside the nativescript container.

New Project

tns create hello
cd hello
tns platform add android
tns run android

That's it, your app should be on your phone!

References

Github Repo: https://github.com/oren/docker-nativescript

The image is a modification of this Dockerfile

Docker Pull Command
Owner
oreng

Comments (0)