20 lines
378 B
Docker
20 lines
378 B
Docker
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"] |