Add dotfiles
Build dev-container / Build image (push) Successful in 3m50s Details

This commit is contained in:
LordMathis 2024-04-25 21:44:05 +02:00
parent c9b44424e2
commit 28585bf0ed
1 changed files with 9 additions and 3 deletions

View File

@ -6,7 +6,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
zsh \ zsh \
sudo \ sudo \
curl \ curl \
openssh-client openssh-client \
ca-certificates \
bat \
build-essential
RUN useradd -m -d /home/dev -s /usr/bin/zsh dev && adduser dev sudo RUN useradd -m -d /home/dev -s /usr/bin/zsh dev && adduser dev sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
@ -14,5 +18,7 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER dev USER dev
WORKDIR /home/dev WORKDIR /home/dev
RUN curl https://git.namesny.com/Mathis/dotfiles/raw/branch/main/install.sh | zsh -s -- desktop/common
ENTRYPOINT ["/usr/bin/tini", "--"] ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["ttyd", "-W", "bash"] CMD ["ttyd", "-W", "zsh"]