Last active
August 29, 2015 13:57
Revisions
-
jaredlwong revised this gist
Mar 28, 2014 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -13,8 +13,6 @@ RUN adduser me RUN adduser me sudo RUN echo 'me:me' | chpasswd # run other commands as me # install general system dependencies RUN su - me -c 'echo me | sudo -S apt-get install -y git make unzip' -
jaredlwong created this gist
Mar 28, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ FROM ubuntu # make sure the package repository is up to date RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list RUN apt-get update RUN apt-get install -y openssh-server RUN mkdir /var/run/sshd # set up root:root and me:me RUN echo 'root:root' | chpasswd RUN adduser me RUN adduser me sudo RUN echo 'me:me' | chpasswd RUN apt-get install -y vim # run other commands as me # install general system dependencies RUN su - me -c 'echo me | sudo -S apt-get install -y git make unzip' # install neovim dependencies RUN su - me -c 'echo me | sudo -S apt-get install -y libtool autoconf automake cmake libncurses5-dev g++ pkg-config' RUN su - me -c 'git clone https://github.com/neovim/neovim' EXPOSE 22 CMD /usr/sbin/sshd -D