You've already forked Docker_Podman_Dev_container
Compare commits
2 Commits
3833ab174a
...
f440ed66f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f440ed66f7 | ||
|
|
04ed69f5d7 |
@@ -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/.
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user