Sign inSign up

josnet/ionic_fwk

By josnet

•Updated over 9 years ago

Develop docker container with ionic 3.

Image
0

10K+

josnet/ionic_fwk repository overview

Ionic

Docker Hub

This repository contains the Dockerfile which is ready-to-go hybrid development environment for building amazing mobile apps with Ionic framework⁠ on Docker⁠.

This image is using the following tools:

  • Android SDK Tools, revision 25.2.5
  • Android SDK Build Tools, revision 19.1.0, 22.0.1, 23.0.3
  • Android SDK Platform, x86 API level 15, 19, 22

⁠Requirements

docker

⁠How to use it?

⁠Installation
  • Build image from a Dockerfile

    $ docker build -t josnet/ionic_fwk:latest .

  • Download image from Docker Hub

    $ docker pull josnet/ionic_fwk

⁠Usage

⁠Run demo
$ docker run -it --rm --name ionic-demo \
  -p 8100:8100 -p 35729:35729 josnet/ionic_fwk
⁠Run your own ionic resources
$ cd <project_path>/
$ docker run -it --rm --name ionic-deploy \
  -p 8100:8100 -p 35729:35729 \
  -v $(pwd):/workspace/app:ro josnet/ionic_fwk

⁠Creating a project

You can follow the Ionic tutorial⁠ (except for the ios part...) without having to install ionic nor cordova nor nodejs on your computer.

Start building high-quality mobile apps:

⁠Manually
$ cd <workspace_path>/
$ docker run -it --name ionic-dev -h ionic-dev \
    -p 8100:8100 -p 35729:35729 \
    -v $(pwd):/projects:rw josnet/ionic_fwk /bin/bash

$ ionic start mySuperApp blank --v2 --ts
$ cd mySuperApp
$ ionic serve --all \
    --port 8100 \
    --livereload-port 35729 \
    -l -c
⁠Automation

Coming next

⁠PREVIEWING THE APP

To see what our demo app looks like, open demo-ionic⁠.

In case it didn't work out, replace the ip address with the following output from: $ docker-machine ip default

Tag summary

Content type

Image

Digest

Size

1.9 GB

Last updated

over 9 years ago

docker pull josnet/ionic_fwk