From d48269ebb25112465c4f6f912ed0372f24865bee Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Sat, 6 Jan 2018 15:30:29 +0100 Subject: [PATCH] add cordova --- .dockerfunc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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