add gimp & updates

This commit is contained in:
Frieder Schlesier 2016-03-08 10:37:50 +01:00
parent b668b50020
commit 3ed3ee2b94
2 changed files with 15 additions and 9 deletions

View File

@ -91,12 +91,23 @@ eclipse() {
exit 0; exit 0;
} }
gimp() {
del_stopped gimp
docker run -d \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
-v $HOME/Pictures:/root/Pictures \
--name gimp \
fschl/gimp
}
go() { go() {
docker run -it --rm \ docker run -i --rm \
-e GO15VENDOREXPERIMENT=1 \
-v "$PWD":/usr/src/myapp \ -v "$PWD":/usr/src/myapp \
-w /usr/src/myapp \ -w /usr/src/myapp \
golang:1.5 go "$@" fschl/golang-dev:latest go "$@"
} }

View File

@ -93,14 +93,9 @@ install_docker() {
get_dotfiles() { get_dotfiles() {
( (
cd "/home$USERNAME"
git clone https://github.com/fschl/dotfiles.git "/home/$USERNAME/dotfiles" git clone https://github.com/fschl/dotfiles.git "/home/$USERNAME/dotfiles"
cd "/home/$USERNAME/dotfiles" cd "/home/$USERNAME/dotfiles" && make
make
cd "/home/$USERNAME"
git clone https://github.com/fschl/dockerfiles.git "/home/$USERNAME/dockerfiles" git clone https://github.com/fschl/dockerfiles.git "/home/$USERNAME/dockerfiles"
git clone https://github.com/fschl/.emacs.d.git "/home/$USERNAME/.emacs.d" git clone https://github.com/fschl/.emacs.d.git "/home/$USERNAME/.emacs.d"