Update dev vm image

This commit is contained in:
Sam Dodrill 2015-03-04 08:29:37 -08:00
parent ce3b016e46
commit 86c1e3a443
2 changed files with 6 additions and 11 deletions

View File

@ -27,20 +27,14 @@ ENV PATH /usr/local/go/bin:$PATH
RUN wget https://get.docker.com/builds/Linux/x86_64/docker-latest -O /usr/local/bin/docker && \ RUN wget https://get.docker.com/builds/Linux/x86_64/docker-latest -O /usr/local/bin/docker && \
chmod 555 /usr/local/bin/docker chmod 555 /usr/local/bin/docker
USER xena
WORKDIR /home/xena WORKDIR /home/xena
# Dotfiles # Dotfiles
RUN mkdir code RUN setuser xena mkdir code
RUN git clone https://github.com/Xe/dotfiles code/dotfiles RUN setuser xena git clone https://github.com/Xe/dotfiles code/dotfiles
ADD setup.sh /home/xena/ ADD setup.sh /home/xena/
RUN bash setup.sh RUN setuser xena bash setup.sh && rm setup.sh
RUN vim +GoInstallBinaries +qall
USER root
RUN chsh xena -s /bin/zsh RUN chsh xena -s /bin/zsh

View File

@ -11,7 +11,6 @@ function setlink
rm ~/.zshrc rm ~/.zshrc
#set links #set links
setlink .profile
setlink .zshrc setlink .zshrc
setlink .zsh setlink .zsh
setlink .vim setlink .vim
@ -32,12 +31,14 @@ rm ~/.vimrc-temp
(cd ~/.vim/bundle/YouCompleteMe; ./install.sh --clang-completer) (cd ~/.vim/bundle/YouCompleteMe; ./install.sh --clang-completer)
(cd ~/.vim/bundle/vimproc.vim; make) (cd ~/.vim/bundle/vimproc.vim; make)
vim +GoInstallBinaries vim +GoInstallBinaries +qall
# Golang stuff # Golang stuff
(mkdir -p ~/go/{pkg,bin,src}) (mkdir -p ~/go/{pkg,bin,src})
go get github.com/mattn/todo go get github.com/mattn/todo
go get github.com/motemen/ghq
go get github.com/Xe/tools/...
echo "Set up!" echo "Set up!"