-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a Dockerfile that can be used to create a test environment
Provide a Dockerfile that can be used to create a test environment to try out the Neovim config.
- Loading branch information
1 parent
db5cedc
commit 5b531c0
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM registry.fedoraproject.org/fedora:35 | ||
|
||
WORKDIR /root/ | ||
RUN dnf update -y | ||
RUN dnf install -y 'dnf-command(copr)' \ | ||
&& dnf copr -y enable agriffis/neovim-nightly \ | ||
&& dnf install -y neovim python3-neovim | ||
|
||
RUN dnf install -y \ | ||
'@Development tools' \ | ||
fd-find \ | ||
gcc-c++ \ | ||
git \ | ||
htop \ | ||
libstdc++-devel \ | ||
ncdu \ | ||
nodejs \ | ||
npm \ | ||
python3 \ | ||
python3-devel \ | ||
python3-jedi \ | ||
python3-pip \ | ||
ripgrep \ | ||
rust \ | ||
wget \ | ||
&& true | ||
|
||
RUN git clone https://github.com/LunarVim/Neovim-from-scratch.git ~/.config/nvim | ||
RUN pip install black flake8 isort mypy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Simple `Dockerfile` to create a Docker container based on Fedora 35, with a nightly build of Neovim. | ||
|
||
To build it use either `docker` or `podman`: | ||
|
||
``` | ||
$ docker build -t neovim-playground . | ||
$ docker run -it neovim-playground bash | ||
``` | ||
|
||
As described in https://www.youtube.com/watch?v=ctH-a-1eUME, you will need to | ||
run `nvim` twice to get Neovim setup and running. After than you can then try | ||
out the features mentioned in the video. |