Sign inSign up

oreng/nativescript

By oreng

•Updated over 11 years ago

Docker container for NativeScript development

Image
4

1.2K

oreng/nativescript repository overview

⁠Why?

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

⁠Setup

git clone [email protected]: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⁠

Tag summary

Content type

Image

Digest

sha256:e44826b9e…

Size

795.7 MB

Last updated

over 11 years ago

docker pull oreng/nativescript