diff --git a/.dockerfunc b/.dockerfunc index abef076..e877136 100755 --- a/.dockerfunc +++ b/.dockerfunc @@ -137,6 +137,18 @@ clion() { ${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() { del_stopped eclipse