Compare commits

...

2 Commits

Author SHA1 Message Date
Tobias
f440ed66f7 Updating README 2025-07-17 18:22:02 +02:00
Tobias
04ed69f5d7 Updating Dockerfile and README 2025-07-17 18:17:29 +02:00
2 changed files with 7 additions and 8 deletions

View File

@@ -1,10 +1,5 @@
FROM library/fedora:latest
RUN dnf install neovim npm gcc ansible ansible-lint ripgrep ShellCheck unzip git tmux zsh zsh-syntax-highlighting -y
WORKDIR /data/
WORKDIR /data/Documents
RUN git clone https://git.nopants.dk/shell/neovim_config.git /root/.config/nvim
RUN git clone https://git.nopants.dk/shell/tmux_config.git /data/Documents/tmux_config
RUN git clone https://git.nopants.dk/shell/Tobias-zsh-shell.git /data/Documents/Tobias-zsh-shell
RUN mv /data/Documents/Tobias-zsh-shell/zshrc /root/.zshrc
RUN mv /data/Documents/tmux_config/tmux.conf /root/.tmux.conf
RUN cp /data/Documents/tmux_config/tmux-script /bin/.

View File

@@ -1,6 +1,10 @@
This is a docker file that can be used for building a container that includes nvim, git, ansible and more
These are the repos where the config for the environment are pulled
https://git.nopants.dk/shell/neovim_config
https://git.nopants.dk/shell/tmux_config
https://git.nopants.dk/shell/Tobias-zsh-shell
To build the image git clone the repo and run podman build .
If you want to mount a dir with the git repos that you work with you can use this example
podman run -it -v {FULL PATH}:/data/Documents:z --name nvim_dev {image id}