Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 735 Bytes

File metadata and controls

38 lines (29 loc) · 735 Bytes

NVIM Docker

A simple, fast dockerized neovim editor.

Configuration

Add the following function to $HOME/.bashrc file.

function ddev {
    local language=$1
    shift
    docker container run --rm -it $@ -v `pwd`:/home/developer/workspace vargab95/nvim-$language
}

A new bash function will be available which allows to start a dockerized development environment for the supported languages.

ddev python

Furthermore, it allows to specify any additional docker command line parameters.

ddev python -p 8080:8080

Build

Docker images can be built locally using the following bash script.

./build.sh all

For specific language builds, print the help.

./build.sh help