Adding zsh to image for better tmux and git workflow

This commit is contained in:
Tobias
2025-07-16 13:10:52 +02:00
parent 96dc413bfe
commit a54d088fdc

View File

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