diff options
-rw-r--r-- | Dockerfile | 11 | ||||
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | zshrc | 3 |
3 files changed, 14 insertions, 7 deletions
@@ -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"] @@ -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 @@ -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' |