Last active
May 5, 2017 01:33
-
-
Save gpwclark/f50e128fbe39adad705a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER gpwclark | |
RUN apt-get update && apt-get install -y \ | |
git \ | |
wget \ | |
vim \ | |
tmux \ | |
libssl-dev \ | |
curl \ | |
ca-certificates \ | |
mr \ | |
vcsh \ | |
zsh \ | |
fortune \ | |
wamerican | |
# Make non sudo user and copy code from git repo to the docker image | |
RUN useradd -ms /bin/bash user | |
#RUN mkdir -p /home/user/app | |
#ADD . /home/user/app | |
# set up environment for development | |
WORKDIR /home/user | |
RUN git clone https://github.com/gpwclark/vcsh_mr | |
RUN mkdir -p /home/user/.vim | |
RUN git clone https://github.com/VundleVim/Vundle.vim.git /home/user/.vim/bundle/Vundle.vim | |
RUN mr up | |
#WORKDIR /home/user/app | |
# Housekeeping | |
RUN chown -R user:user /home/user | |
RUN apt-get clean | |
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
USER user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment