Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexandrecarlton/vim-built-with-docker
Vim built inside a Docker container
https://github.com/alexandrecarlton/vim-built-with-docker
docker docker-container vim
Last synced: 17 days ago
JSON representation
Vim built inside a Docker container
- Host: GitHub
- URL: https://github.com/alexandrecarlton/vim-built-with-docker
- Owner: AlexandreCarlton
- Created: 2017-10-18T09:59:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-19T12:14:15.000Z (about 7 years ago)
- Last Synced: 2024-10-30T07:56:59.796Z (2 months ago)
- Topics: docker, docker-container, vim
- Language: Makefile
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-built-with-docker
[![Build Status](https://travis-ci.org/AlexandreCarlton/vim-built-with-docker.svg?branch=master)](https://travis-ci.org/AlexandreCarlton/vim-built-with-docker)
An experiment in building Vim inside a CentOS 7 Docker container.
## Motivation
Building vim requires pulling in a number of dependencies, most of which
consist of development headers that are ultimately unneeded after building it.
This represents a clean way to do so.It is important to note that the resulting vim binary will only work if the
necessary libraries are installed.## Building
A shim [`Makefile`](Makefile) can be used to build both the image and vim, and
install the latter:```bash
$ make
$ make install
```## Installing
By default, the prefix to which vim is installed is `~/.local`. This can be
changed by setting `PREFIX`:```bash
$ make install PREFIX=/usr/local
```However, elevated permissions may be needed if installing to a write-protected
location.## Upgrading
Should it be necessary to upgrade to a newer version of vim, we can uninstall
and then explicitly install a different version by overriding the `VERSION`
variable:```bash
$ make uninstall
$ make install VERSION=8.0.1202
```