{"id":18774420,"url":"https://github.com/thinca/dockerfile-vim","last_synced_at":"2025-04-13T09:21:48.511Z","repository":{"id":25261488,"uuid":"28686659","full_name":"thinca/dockerfile-vim","owner":"thinca","description":"Dockerfile for Vim","archived":false,"fork":false,"pushed_at":"2024-04-06T07:30:33.000Z","size":52,"stargazers_count":35,"open_issues_count":0,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T00:54:57.222Z","etag":null,"topics":["docker","dockerfile","vim"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/thinca/vim/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thinca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-01-01T13:02:45.000Z","updated_at":"2025-02-07T13:21:46.000Z","dependencies_parsed_at":"2024-04-06T08:37:45.889Z","dependency_job_id":null,"html_url":"https://github.com/thinca/dockerfile-vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fdockerfile-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fdockerfile-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fdockerfile-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fdockerfile-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinca","download_url":"https://codeload.github.com/thinca/dockerfile-vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248689376,"owners_count":21145923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","dockerfile","vim"],"created_at":"2024-11-07T19:38:14.800Z","updated_at":"2025-04-13T09:21:48.486Z","avatar_url":"https://github.com/thinca.png","language":"Dockerfile","readme":"# Dockerfile for Vim\n\nLatest Vim from [vim/vim](https://github.com/vim/vim).\n\n```\n$ docker run --rm -it thinca/vim\n```\n\n\n## Workaround for terminal size problem\n\nSometimes terminal size is broken.  (Maybe, Docker sets terminal size too late)\nHere is a workaround to this problem.\n\n```\n$ docker run --rm -it -e COLUMNS=\"$(tput cols)\" -e LINES=\"$(tput lines)\" thinca/vim\n```\n\n\n## Base image\n\nThe following base images are available.\n\n- [Alpine Linux](https://hub.docker.com/_/alpine) - `alpine/` directory.\n- [Ubuntu](https://hub.docker.com/_/ubuntu) - `ubuntu/` directory.\n\n\n## Build Arguments\n\nNote: Buildkit is required to build this image:\n\n```shell\n$ export DOCKER_BUILDKIT=1\n```\n\n\n### `VIM_VERSION`\n\nA Git commit reference in [Vim repository](https://github.com/vim/vim). e.g. tag name `v8.0.0000` or commit hash `df980db6`\n\ndefault: `master`\n\n```\n$ docker build --build-arg 'VIM_VERSION=v8.0.0000' --tag 'vim:v8.0.0000' .\n```\n\n\n### `VIM_ENABLE_ALL`\n\nWhen this is not empty, all other `VIM_ENABLE_XXX` flags are enabled.\nYou can overwrite by each variables.\n\ndefault: empty\n\n\nex. Enables only Lua interface.\n```\n$ docker build --build-arg 'VIM_ENABLE_ALL=' --build-arg 'VIM_ENABLE_LUA=yes' --tag 'vim:lua' .\n```\n\nex. Enables all but Python interface.\n```\n$ docker build --build-arg 'VIM_ENABLE_ALL=yes' --build-arg 'VIM_ENABLE_PYTHON=' --tag 'vim:all-without-python' .\n```\n\nNOTE: The older Vim can not build with some latest version of language interfaces.\nBecause sometimes the language is updated with breaking changes, and Vim followed to them in newer version.\n\n\n### `VIM_ENABLE_GUI`\n\nWhen this is not empty, GUI(gtk+3.0) is enabled.\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `VIM_ENABLE_SOUND`\n\nWhen this is not empty, `+sound` is enabled.\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `VIM_ENABLE_PERL`\n\nWhen this is not empty, Perl interface is enabled.\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `VIM_ENABLE_PYTHON`\n\nWhen this is not empty, Python interface is enabled.\nHere, \"Python\" means \"Python 2.x\".\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `VIM_ENABLE_PYTHON3`\n\nWhen this is not empty, Python3 interface is enabled.\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `PYTHON3_VERSION`\n\nA version of Python 3.  This works with Alpine Linux only.\n\nYou can only specify `3.7` or empty.\nLatest version will be used when this is empty.\n\nVim built with Python 2.x and Python 3.8 is only available either `if_python` or `if_python3`.\n\nYou should specify `3.7` to enable both in same time.\nBut, unfortunately, you can not enable `if_mzscheme` in this case.\n\ndefault: empty\n\n\n### `VIM_ENABLE_RUBY`\n\nWhen this is not empty, Ruby interface is enabled.\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `VIM_ENABLE_LUA`\n\nWhen this is not empty, Lua interface is enabled.\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `LUA_VERSION`\n\nA version of lua.\nEx: `5.4` `5.3` `5.2` `5.1` `jit`\nWhen you specify `jit`, luajit is enabled.\nWhen you use the Vim that is version before `v7.4.093`, please specify `5.1`.\n\ndefault: `jit`\n\n```\n$ docker build --build-arg 'VIM_VERSION=v7.4.092' --build-arg 'LUA_VERSION=5.1' --tag 'vim:v7.4.092' .\n```\n\n\n### `VIM_ENABLE_TCL`\n\nWhen this is not empty, Tcl interface is enabled.\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `VIM_ENABLE_MZSCHEME`\n\nWhen this is not empty, MzScheme(Racket) interface is enabled.\n\ndefault: Follows to [`VIM_ENABLE_ALL`](#vim_enable_all)\n\n\n### `RACKET_VERSION`\n\nA version of Racket for `+mzscheme` feature.\n\ndefault: `8.5`\n\n\n### `VIM_COMPILEDBY`\n\nSet to `--with-compiedby` configure option.\n\n\n## LICENSE\n\n[zlib License](LICENSE.txt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinca%2Fdockerfile-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinca%2Fdockerfile-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinca%2Fdockerfile-vim/lists"}