Work in progress, a dev image for Sam
authorSam <sam.saffron@gmail.com>
Fri, 13 Jun 2014 01:22:20 +0000 (11:22 +1000)
committerSam <sam.saffron@gmail.com>
Fri, 13 Jun 2014 01:22:20 +0000 (11:22 +1000)
image/discourse_dev/Dockerfile [new file with mode: 0644]

diff --git a/image/discourse_dev/Dockerfile b/image/discourse_dev/Dockerfile
new file mode 100644 (file)
index 0000000..8a6c131
--- /dev/null
@@ -0,0 +1,16 @@
+FROM samsaffron/discourse_21:2.1.2.1
+
+MAINTAINER Sam Saffron "https://twitter.com/samsaffron"
+
+RUN apt-get install -y vim &&\
+      wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
+RUN tar -xjf phantomjs-1.9.7-linux-x86_64.tar.bz2
+RUN rm phantomjs-1.9.7-linux-x86_64.tar.bz2
+RUN cp phantomjs-1.9.7-linux-x86_64/bin/phantomjs /bin/phantomjs
+RUN rm -fr phantomjs-1.9.7-linux-x86_64
+RUN cd opt && git clone https://github.com/SamSaffron/vim-setup.git
+RUN cd opt/vim-setup && git submodule update --init
+RUN ln -s /opt/vim-setup/vimrc /etc/vim/vimrc.local
+RUN ln -s /opt/vim-setup/vimfiles/bundle /etc/vim/bundle
+RUN apt-get -y install ctags
+RUN apt-get -y install thesilversearcher-ag