Ionic build tools in docker

Ionic dependencies

- Node

- Ionic

- Cordova

- Android SDK (which works with Java and Gradle)

 

What happens when you change laptop?

 

Or reinstall OS?

 

Or move to an online IDE?

 

https://github.com/petruisfan/ionic-docker

Tips

  • Integrate this docker image with all Ionic projects
  • Don't try to integrate with USB drivers
  • Use tools like IonicDevApp

Tips

- Always include node_modules inside the docker image

 

- Create a new image version when package.json changes

 

- Only use docker as a build environment

Ionic build tools in docker

By Petru Isfan

Ionic build tools in docker

  • 30