add gimp & updates
This commit is contained in:
parent
b668b50020
commit
3ed3ee2b94
17
.dockerfunc
17
.dockerfunc
|
@ -91,12 +91,23 @@ eclipse() {
|
|||
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() {
|
||||
docker run -it --rm \
|
||||
-e GO15VENDOREXPERIMENT=1 \
|
||||
docker run -i --rm \
|
||||
-v "$PWD":/usr/src/myapp \
|
||||
-w /usr/src/myapp \
|
||||
golang:1.5 go "$@"
|
||||
fschl/golang-dev:latest go "$@"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -93,14 +93,9 @@ install_docker() {
|
|||
get_dotfiles() {
|
||||
|
||||
(
|
||||
cd "/home$USERNAME"
|
||||
|
||||
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/.emacs.d.git "/home/$USERNAME/.emacs.d"
|
||||
|
|
Loading…
Reference in New Issue