Skip to content

Instantly share code, notes, and snippets.

@gpwclark
Last active May 5, 2017 01:33
Show Gist options
  • Save gpwclark/f50e128fbe39adad705a to your computer and use it in GitHub Desktop.
Save gpwclark/f50e128fbe39adad705a to your computer and use it in GitHub Desktop.
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