docker-sshtunnel/Dockerfile

18 lines
228 B
Docker
Raw Normal View History

2021-03-19 08:34:33 +00:00
FROM alpine:latest
ARG SSH_USER
ARG SSH_HOST
ARG SSH_PORT
ARG SSH_IDENTITY_PATH
ARG REMOTE_HOST
ARG REMOTE_PORT
ARG LOCAL_PORT
RUN \
apk -U add openssh-client
COPY entrypoint.sh /
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]