Add ttyd
This commit is contained in:
20
remote/ttyd/Dockerfile
Normal file
20
remote/ttyd/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM tsl0922/ttyd:alpine
|
||||
|
||||
# Install ping and ssh client
|
||||
RUN apk update && apk add --no-cache \
|
||||
iputils \
|
||||
openssh-client \
|
||||
curl \
|
||||
bind-tools \
|
||||
bash-completion \
|
||||
coreutils
|
||||
|
||||
RUN rm -rf /var/cache/apk/*
|
||||
|
||||
RUN addgroup -g 1000 ttyd && \
|
||||
adduser -D -u 1000 -G ttyd tty
|
||||
|
||||
USER 1000:1000
|
||||
|
||||
# Set default command to start ttyd with bash
|
||||
CMD ["ttyd", "/bin/bash"]
|
||||
Reference in New Issue
Block a user