From 7546709d96cbea62112e506a13ebf0d96395295d Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Sat, 19 Dec 2015 11:59:50 +0100 Subject: [PATCH] mount .sonar to host,prevent unecessary redownload --- .dockerfunc | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.dockerfunc b/.dockerfunc index eb2014a..b5b0657 100644 --- a/.dockerfunc +++ b/.dockerfunc @@ -85,6 +85,7 @@ eclipse() { -v $HOME/projects/java/workspace:/home/eclipse/workspace \ -v $HOME/.eclipse/plugins:/opt/eclipse/plugins \ -v $HOME/.eclipse/configuration:/opt/eclipse/configuration \ + -v $HOME/.sonar:/home/eclipse/.sonar \ --name eclipse \ fschl/eclipse:latest } @@ -196,18 +197,18 @@ skype() { } torbrowser() { - del_stopped torbrowser + del_stopped torbrowser - docker run -d \ - -v /etc/localtime:/etc/localtime:ro \ - -v /tmp/.X11-unix:/tmp/.X11-unix \ - -e DISPLAY=unix$DISPLAY \ - -e GDK_SCALE \ - -e GDK_DPI_SCALE \ - --device /dev/snd \ - --name torbrowser \ - fschl/tor-browser + docker run -d \ + -v /etc/localtime:/etc/localtime:ro \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + -e DISPLAY=unix$DISPLAY \ + -e GDK_SCALE \ + -e GDK_DPI_SCALE \ + --device /dev/snd \ + --name torbrowser \ + fschl/tor-browser - # exit current shell - exit 0 + # exit current shell + exit 0 }