22 lines
576 B
Docker
22 lines
576 B
Docker
FROM ubuntu:noble
|
|
|
|
RUN apt update && apt install --assume-yes curl zsh fzf zoxide unzip sudo git make stow
|
|
|
|
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 sudo -r -s /usr/bin/zsh ubuntu
|
|
RUN usermod -aG sudo ubuntu
|
|
|
|
RUN echo "ubuntu ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
|
|
USER ubuntu
|
|
WORKDIR /home/ubuntu
|
|
|
|
COPY .src/setup.sh /bin/setup
|
|
|
|
RUN git clone --recursive --depth=1 https://git.k4li.de/dotfiles/minimal.git /home/ubuntu/dotfiles
|
|
|
|
ENTRYPOINT /usr/bin/zsh
|