diff --git a/Dockerfile b/Dockerfile index 33c9bfa..6e2f3b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,12 @@ FROM library/fedora:latest -RUN dnf install neovim npm gcc ansible ansible-lint ripgrep ShellCheck git tmux -y -RUN useradd -ms /bin/bash user -RUN git clone https://git.nopants.dk/shell/neovim_config.git /root/.config/nvim - +RUN dnf install neovim npm gcc ansible ansible-lint ripgrep ShellCheck unzip git tmux -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 mv /home/bobby/Documents/tmux_config/tmux.conf /home/bobby/.tmux.conf +USER root +RUN cp /home/bobby/Documents/tmux_config/tmux-script /bin/. +USER bobby