ssh-docker/Dockerfile

12 lines
173 B
Docker
Raw Normal View History

2023-11-02 18:23:28 +00:00
FROM alpine
ENV PROJ_NAME=ssh-docker
2023-10-24 04:34:05 +00:00
ADD ./ /$PROJ_NAME
2023-11-02 18:23:28 +00:00
RUN apk update && apk add --no-cache \
openssh-client \
autossh \
sshpass
2023-10-24 04:34:05 +00:00
# Run entrypoint
2023-11-02 18:23:28 +00:00
CMD ["/usr/bin/ssh"]