fix bro, fix indentation
This commit is contained in:
parent
16e07517dd
commit
8c2e4984f7
23
.dockerfunc
23
.dockerfunc
|
@ -35,10 +35,10 @@ relies_on() {
|
||||||
|
|
||||||
# Applications...
|
# Applications...
|
||||||
|
|
||||||
bropages() {
|
bro() {
|
||||||
docker run -it --rm \
|
docker run -it --rm \
|
||||||
fschl/bropages \
|
fschl/bropages \
|
||||||
bro
|
bro "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
chrome() {
|
chrome() {
|
||||||
|
@ -82,7 +82,6 @@ eclipse() {
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
-e DISPLAY=unix$DISPLAY \
|
-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/.eclipse/plugins:/opt/eclipse/plugins \
|
-v $HOME/.eclipse/plugins:/opt/eclipse/plugins \
|
||||||
-v $HOME/.eclipse/configuration:/opt/eclipse/configuration \
|
-v $HOME/.eclipse/configuration:/opt/eclipse/configuration \
|
||||||
--name eclipse \
|
--name eclipse \
|
||||||
|
@ -95,7 +94,7 @@ go() {
|
||||||
-v "$PWD":/usr/src/myapp \
|
-v "$PWD":/usr/src/myapp \
|
||||||
-w /usr/src/myapp \
|
-w /usr/src/myapp \
|
||||||
golang:1.5 go "$@"
|
golang:1.5 go "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
latex() {
|
latex() {
|
||||||
del_stopped latex
|
del_stopped latex
|
||||||
|
@ -144,14 +143,14 @@ torbrowser() {
|
||||||
del_stopped torbrowser
|
del_stopped torbrowser
|
||||||
|
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
-e DISPLAY=unix$DISPLAY \
|
-e DISPLAY=unix$DISPLAY \
|
||||||
-e GDK_SCALE \
|
-e GDK_SCALE \
|
||||||
-e GDK_DPI_SCALE \
|
-e GDK_DPI_SCALE \
|
||||||
--device /dev/snd \
|
--device /dev/snd \
|
||||||
--name torbrowser \
|
--name torbrowser \
|
||||||
fschl/tor-browser
|
fschl/tor-browser
|
||||||
|
|
||||||
# exit current shell
|
# exit current shell
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue