diff --git a/Dockerfile b/Dockerfile index 6195ade..98df372 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,10 @@ FROM library/fedora:latest 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/. -USER bobby +WORKDIR /data/ +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/.