Add initial dockerfile
This commit is contained in:
commit
cffb5fe5f7
|
@ -0,0 +1,16 @@
|
||||||
|
FROM tsl0922/ttyd:latest
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||||
|
git \
|
||||||
|
neovim \
|
||||||
|
zsh \
|
||||||
|
sudo
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
CMD ["ttyd", "-W", "bash"]
|
Loading…
Reference in New Issue