more convenient folders

This commit is contained in:
Frieder Schlesier 2016-10-05 11:28:11 +02:00
parent 99e95474bc
commit a6f28d2546
1 changed files with 6 additions and 4 deletions

View File

@ -150,17 +150,17 @@ eneon() {
-e DISPLAY=unix$DISPLAY \ -e DISPLAY=unix$DISPLAY \
-v $HOME/projects/java/workspace:/home/eclipse/workspace \ -v $HOME/projects/java/workspace:/home/eclipse/workspace \
-v $HOME/dockerfiles/eclipse/eclipse.ini:/opt/eclipse/eclipse.ini:ro \ -v $HOME/dockerfiles/eclipse/eclipse.ini:/opt/eclipse/eclipse.ini:ro \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
-v $HOME/.eclipse_neon/eclipse:/home/elipse/.eclipse/ \ -v $HOME/.eclipse_neon/eclipse:/home/elipse/.eclipse/ \
-v $HOME/.eclipse_neon/plugins:/opt/eclipse/plugins/ \ -v $HOME/.eclipse_neon/plugins:/opt/eclipse/plugins/ \
-v $HOME/.eclipse_neon/configuration:/opt/eclipse/configuration \ -v $HOME/.eclipse_neon/configuration:/opt/eclipse/configuration \
-v $(which docker):/bin/docker \ -v $(which docker):/bin/docker \
--device /dev/video0 \ --device /dev/video0 \
--group-add audio \ --group-add audio \
--group-add video \ --group-add video \
fschl/eclipse:neon fschl/eclipse:neon
# exit 0; # exit 0;
} }
gimp() { gimp() {
@ -193,6 +193,7 @@ icedove() {
--name="icedove" \ --name="icedove" \
-v /etc/localtime:/etc/localtime:ro \ -v /etc/localtime:/etc/localtime:ro \
-v $HOME/Downloads/:/root/Downloads \ -v $HOME/Downloads/:/root/Downloads \
-v $HOME/Documents/:/root/Documents \
-v $HOME/.thunderbird/:/root/.icedove \ -v $HOME/.thunderbird/:/root/.icedove \
-v $HOME/.gnupg/:/root/.gnupg \ -v $HOME/.gnupg/:/root/.gnupg \
-v /tmp/.X11-unix:/tmp/.X11-unix \ -v /tmp/.X11-unix:/tmp/.X11-unix \
@ -235,7 +236,7 @@ java() {
-e DISPLAY=unix$DISPLAY \ -e DISPLAY=unix$DISPLAY \
--net=host \ --net=host \
openjdk:8 \ openjdk:8 \
bash -c "$args" bash -c "$args"
} }
@ -258,6 +259,7 @@ libreoffice() {
-e DISPLAY=unix$DISPLAY \ -e DISPLAY=unix$DISPLAY \
-v $HOME/Documents:/root/Documents \ -v $HOME/Documents:/root/Documents \
-v $HOME/Pictures:/root/Pictures \ -v $HOME/Pictures:/root/Pictures \
-v $HOME/Downloads:/root/Downloads \
-e GDK_SCALE \ -e GDK_SCALE \
-e GDK_DPI_SCALE \ -e GDK_DPI_SCALE \
--name libreoffice \ --name libreoffice \