22 lines
637 B
Docker
22 lines
637 B
Docker
FROM fedora:latest
|
|
|
|
# RUN dnf update && dnf install --assumeyes curl zsh fzf zoxide unzip sudo git make stow fastfetch exa
|
|
RUN dnf install --assumeyes curl zsh fzf zoxide unzip git make stow awk tmux
|
|
|
|
COPY ./.src/colorscript.sh .
|
|
COPY ./.src/omp.sh .
|
|
|
|
RUN bash ./omp.sh -d /bin && rm ./omp.sh
|
|
RUN bash colorscript.sh && rm colorscript.sh
|
|
|
|
RUN useradd -m -G wheel -r -s /usr/bin/zsh fedora
|
|
|
|
RUN echo "fedora ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
|
|
USER fedora
|
|
WORKDIR /home/fedora
|
|
|
|
COPY ./setup.sh /bin/setup
|
|
|
|
RUN git clone --recursive --depth=1 https://git.k4li.de/dotfiles/minimal.git /home/fedora/dotfiles
|
|
|
|
ENTRYPOINT /usr/bin/zsh
|