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,13 +6,19 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
zsh \
sudo \
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 echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER dev
USER 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", "--"]
CMD ["ttyd", "-W", "bash"]
CMD ["ttyd", "-W", "zsh"]