aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile11
-rw-r--r--Makefile7
-rw-r--r--zshrc3
3 files changed, 14 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index cdcf41d..f627bf6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,7 @@ RUN echo "@testing http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/
# Install all the needed packages
RUN apk add --no-cache \
# My Stuff
+ zsh \
php \
php-json \
php-phar \
@@ -50,7 +51,7 @@ ADD PEARish.xml /root/PEARish.xml
# Install python linting and neovim plugin
RUN pip install neovim flake8 flake8-docstrings flake8-import-order flake8-quotes pep8 pep8-naming pep257
-RUN pip3 install neovim
+RUN pip3 install neovim jedi
# Install nodejs linting
# Install JS linting modules
@@ -67,7 +68,13 @@ COPY package/bin/shellcheck /usr/local/bin/
COPY package/lib/ /usr/local/lib/
RUN ldconfig /usr/local/lib
+# 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
-ENTRYPOINT ["sh"]
+ADD zshrc /root/.zshrc
+CMD ["/bin/zsh"]
diff --git a/Makefile b/Makefile
index 654f19f..340cc0f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ help:
build: ## Build the image
clear
make build-shellcheck
- docker build -t thornycrackers/alpine .
+ docker build -t thornycrackers/neovim .
build-shellcheck: ## build the shellcheck binaries
clear
@@ -12,7 +12,4 @@ build-shellcheck: ## build the shellcheck binaries
docker run --rm -it -v $(CURDIR):/mnt thornycrackers/shellcheck
enter: ## Enter the image
- docker run -i -t thornycrackers/alpine
-
-clearn: ## Remove the shellcheck binaries
- rm -rf package
+ docker run -i -t thornycrackers/neovim /bin/zsh
diff --git a/zshrc b/zshrc
new file mode 100644
index 0000000..e8a697d
--- /dev/null
+++ b/zshrc
@@ -0,0 +1,3 @@
+alias nconf='nvim /root/.config/nvim/init.vim'
+alias ndir='cd /root/.config/nvim'
+alias vdir='cd /root/.config/nvim/plugged/vim-options'