25 lines
543 B
Docker
25 lines
543 B
Docker
FROM tsl0922/ttyd:latest
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
git \
|
|
neovim \
|
|
zsh \
|
|
sudo \
|
|
curl \
|
|
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
|
|
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", "zsh"]
|