This repository contains Dockerfiles that construct development environments with Vim configured.
- Docker
Run the following commands:
git clone https://github.com/ZachBray/docker-dev-envs ~/.devenvs
cd ~/.devenvs
./build.sh
echo source ~/.devenvs/utils.sh >> ~/.bashrc
Run one of the following commands to run Vim with access to the current directory.
Run start_vim base
Run start_vim js
Run start_vim ts
Run start_vim mono
Run start_vim rust
Make sure that the current user owns the ~/.cargo directory.
Run start_vim eclim
Please note that you must create an eclipse project before the plugin works.
:! mvn eclipse:eclipse
:MvnRepo
:ProjectImport .
In build.gradle make sure you have:
apply plugin: 'eclipse'
Then run:
:! ./gradlew eclipse
:ProjectImport .
Make sure that the current user owns the ~/.gradle directory.
Run start_vim pony
Run start_vim ocaml
If you need access to a bash shell in the container, e.g., to install/run a project under the runtime, run the following command replacing js as appropriate:
docker run -it -v $(pwd):/home/dev/src --entrypoint /bin/bash env/vim/js
docker rm $(docker ps -aq)
docker rmi $(docker images --filter dangling=true --quiet)