aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorCody Hiar <cody.hiar@investopedia.com>2016-07-27 12:08:38 -0600
committerCody Hiar <cody.hiar@investopedia.com>2016-07-27 12:08:38 -0600
commited9ada3dcfbb5e70105480d37dd5c99b7f83d5bb (patch)
treeafff8df631a8aa2c55b6cc23f50c6e5f5d6d87db /Dockerfile
Initial commit of the working files.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile38
1 files changed, 38 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..adc0d69
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,38 @@
+FROM ubuntu:14.04
+MAINTAINER Cody Hiar <codyfh@gmail.com>
+
+# Fix upstart errors
+RUN dpkg-divert --local --rename --add /sbin/initctl
+RUN ln -sf /bin/true /sbin/initctl
+
+# This prevents a bunch of errors during build
+ENV DEBIAN_FRONTEND noninteractive
+
+# Avoid ERROR: invoke-rc.d: policy-rc.d denied execution of start.
+RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d
+
+# Install packages
+RUN apt-get update && apt-get install -y \
+ software-properties-common \
+ python-dev \
+ python-pip \
+ python3-dev \
+ git \
+ python3-pip
+
+# Install Neovim
+RUN add-apt-repository ppa:neovim-ppa/unstable -y
+RUN apt-get update && apt-get install -y \
+ neovim
+
+# Install the neovim python plugins
+RUN pip install neovim
+RUN pip3 install neovim
+
+# Download my Neovim Repo
+RUN git clone https://github.com/thornycrackers/.nvim.git /root/.config/nvim
+
+# Install neovim Modules
+RUN nvim +PlugInstall +qa
+RUN nvim +UpdateRemotePlugins +qa
+