wip
This commit is contained in:
parent
2570514d64
commit
2c7bac4edd
2 changed files with 16 additions and 5 deletions
6
debian/.src/setupDebian.sh
vendored
6
debian/.src/setupDebian.sh
vendored
|
@ -1,6 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd $HOME/dotfiles/
|
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 dotfiles/
|
||||||
stow zsh/
|
stow zsh/
|
||||||
|
|
15
debian/Dockerfile
vendored
15
debian/Dockerfile
vendored
|
@ -2,19 +2,24 @@ FROM debian:trixie-slim
|
||||||
|
|
||||||
RUN apt update && apt install --assume-yes curl zsh fzf zoxide unzip sudo git make stow
|
RUN apt update && apt install --assume-yes curl zsh fzf zoxide unzip sudo git make stow
|
||||||
|
|
||||||
|
COPY ./.src/colorscript.sh .
|
||||||
|
COPY ./.src/neovim.sh .
|
||||||
COPY ./.src/omp.sh .
|
COPY ./.src/omp.sh .
|
||||||
|
COPY ./.src/zellij.sh .
|
||||||
|
|
||||||
RUN bash ./omp.sh -d /bin && rm ./omp.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 sudo -r -s /usr/bin/zsh debian
|
RUN useradd -m -G sudo -r -s /usr/bin/zsh debian
|
||||||
|
|
||||||
RUN echo "debian ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
|
RUN echo "debian ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
|
||||||
USER debian
|
USER debian
|
||||||
WORKDIR /home/debian
|
WORKDIR /home/debian
|
||||||
COPY ./.src/* .
|
|
||||||
|
|
||||||
RUN bash neovim.sh && rm neovim.sh
|
COPY ./.src/setupDebian.sh .
|
||||||
RUN bash zellij.sh && rm zellij.sh
|
|
||||||
RUN bash colorscript.sh && rm colorscript.sh
|
|
||||||
|
|
||||||
RUN git clone --recursive --depth=1 https://git.k4li.de/dotfiles/minimal.git /home/pika/dotfiles
|
RUN git clone --recursive --depth=1 https://git.k4li.de/dotfiles/minimal.git /home/debian/dotfiles
|
||||||
|
|
||||||
ENTRYPOINT /usr/bin/zsh
|
ENTRYPOINT /usr/bin/zsh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue