Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

jdk: 1.8.0_131
gradle: 3.5
node: v7.10.0
npm: 4.6.1
ionic-cli: 3.1.2
cordova: 7.0.1
android:
build-tools;25.0.3 | 25.0.3 | Android SDK Build-Tools 25.0.3 | build-tools/25.0.3/
emulator | 26.0.3 | Android Emulator | emulator/
patcher;v4 | 1 | SDK Patch Applier v4 | patcher/v4/
platform-tools | 25.0.6 | Android SDK Platform-Tools | platform-tools/
platforms;android-25 | 3 | Android SDK Platform 25 | platforms/android-25/
tools | 26.0.2 | Android SDK Tools | tools/

Environment:
export JAVA_HOME=/opt/jdk
export CLASSPATH=.:/lib/dt.jar:/lib/tools.jar
export NODE_HOME=/opt/node
export ANDROID_HOME=/opt/android
export GRADLE_HOME=/opt/gradle
export PATH=$PATH:$JAVA_HOME/bin:$NODE_HOME/bin:$ANDROID_HOME/tools:$GRADLE_HOME/bin

Usage:
docker run -ti --rm --net host -w /tmp/myApp --privileged -v /dev/bus/usb:/dev/bus/usb -v ~/.gradle:/root/.gradle -v ~/.npm:/root/.npm -v $PWD:/tmp/myApp wangrongda/ionic /bin/bash
alias:
alias ionic='docker run -ti --rm --net host -w /tmp/myApp --privileged -v /dev/bus/usb:/dev/bus/usb -v ~/.gradle:/root/.gradle -v ~/.npm:/root/.npm -v $PWD:/tmp/myApp wangrongda/ionic'

Docker Pull Command
Owner
wangrongda