aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-09-21 14:41:14 -0600
committerCody Hiar <codyfh@gmail.com>2017-09-21 14:41:14 -0600
commite8476db31cb104f6aed351dd3f213a849d350dd3 (patch)
treeeb6eeb018edd081b01503a1259fa70c05e470d0e /Dockerfile
parent7a809a453c9ba073073ef47d8ffe138981b4cd55 (diff)
Stupid fucking thing
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 3970dc6..e49efa0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -33,6 +33,7 @@ ENV LC_ALL en_US.UTF-8
# Install PHP 5.6/Neovim
RUN add-apt-repository ppa:ondrej/php
RUN add-apt-repository ppa:neovim-ppa/stable
+
# Install custom packages
RUN apt-get update && apt-get install -y \
php5.6 \
@@ -82,12 +83,11 @@ WORKDIR /root/app
RUN infocmp $TERM | sed 's/kbs=^[hH]/kbs=\\177/' > /tmp/$TERM.ti
RUN tic /tmp/$TERM.ti
# Command for the image
-CMD ["/bin/bash"]
-# Add nvim config. Put this last since it changes often
ADD nvim /root/.config/nvim
+RUN curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Install neovim Modules
-RUN nvim -i NONE -c PlugInstall -c quitall > /dev/null 2>&1
-RUN nvim -i NONE -c UpdateRemotePlugins -c quitall > /dev/null 2>&1
+RUN nvim -c PlugInstall -c quitall
+RUN nvim -c UpdateRemotePlugins -c quitall
# Add flake8 config, don't trigger a long build process
ADD flake8 /root/.flake8
# Add local vim-options, can override the one inside