add torbrowser and GO 1.5

This commit is contained in:
fschl 2015-11-02 20:35:18 +01:00
parent 19bd17eb21
commit 16e07517dd
1 changed files with 27 additions and 1 deletions

View File

@ -79,7 +79,8 @@ eclipse() {
del_stopped eclipse del_stopped eclipse
docker run -it --rm \ docker run -it --rm \
--net host \ --net host \
-v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
-v $HOME/projects/java/workspace:/root/workspace \ -v $HOME/projects/java/workspace:/root/workspace \
-v $HOME/Documents/WHZ/PTI615-OOSE:/root/workspace2 \ -v $HOME/Documents/WHZ/PTI615-OOSE:/root/workspace2 \
-v $HOME/.eclipse/plugins:/opt/eclipse/plugins \ -v $HOME/.eclipse/plugins:/opt/eclipse/plugins \
@ -88,6 +89,14 @@ eclipse() {
fschl/eclipse-jdk7:latest fschl/eclipse-jdk7:latest
} }
go() {
docker run -it --rm \
-e GO15VENDOREXPERIMENT=1 \
-v "$PWD":/usr/src/myapp \
-w /usr/src/myapp \
golang:1.5 go "$@"
}
latex() { latex() {
del_stopped latex del_stopped latex
@ -130,3 +139,20 @@ skype() {
--net host \ --net host \
fschl/skype fschl/skype
} }
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
# exit current shell
exit 0
}