add cordova
This commit is contained in:
parent
2df2739ab0
commit
d48269ebb2
12
.dockerfunc
12
.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
|
||||
|
||||
|
|
Loading…
Reference in New Issue