addet some distros
This commit is contained in:
parent
2c7bac4edd
commit
5c07745407
15 changed files with 1374 additions and 202 deletions
26
fedora/Dockerfile
Normal file
26
fedora/Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
|||
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
|
||||
|
||||
# COPY ./.src/colorscript.sh .
|
||||
# COPY ./.src/neovim.sh .
|
||||
# COPY ./.src/omp.sh .
|
||||
# COPY ./.src/zellij.sh .
|
||||
|
||||
# RUN bash ./omp.sh -d /bin && rm ./omp.sh
|
||||
# RUN bash neovim.sh && rm neovim.sh
|
||||
# RUN bash zellij.sh && rm zellij.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 .
|
||||
|
||||
RUN git clone --recursive --depth=1 https://git.k4li.de/dotfiles/minimal.git /home/fedora/dotfiles
|
||||
|
||||
ENTRYPOINT /usr/bin/zsh
|
14
fedora/setup.sh
Executable file
14
fedora/setup.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd $HOME/dotfiles/
|
||||
{
|
||||
echo "${CYAN}Updating submodules..${NC}" &&
|
||||
git submodule update --init --recursive &&
|
||||
echo "${CYAN}Pulling down submodules..${NC}" &&
|
||||
git pull --recurse-submodule
|
||||
}
|
||||
|
||||
stow dotfiles/
|
||||
stow zsh/
|
||||
|
||||
exec zsh
|
Loading…
Add table
Add a link
Reference in a new issue