Add dotfiles
Build dev-container / Build image (push) Successful in 3m50s
Details
Build dev-container / Build image (push) Successful in 3m50s
Details
This commit is contained in:
parent
c9b44424e2
commit
28585bf0ed
12
Dockerfile
12
Dockerfile
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue