add cordova

This commit is contained in:
Frieder Schlesier 2018-01-06 15:30:29 +01:00
parent 2df2739ab0
commit d48269ebb2
1 changed files with 12 additions and 0 deletions

View File

@ -137,6 +137,18 @@ clion() {
${DOCKER_REPO_PREFIX}/clion:latest ${DOCKER_REPO_PREFIX}/clion:latest
} }
cordova() {
docker run -it \
--name="cordova-cli" \
--net host \
-v $HOME/projects/cordova/:/src/ \
-v /dev/bus/usb:/dev/bus/usb \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
-p 127.0.0.1:8000:8000 \
fschl/cordova bash
}
eclipse() { eclipse() {
del_stopped eclipse del_stopped eclipse