18 lines
228 B
Docker
18 lines
228 B
Docker
|
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"]
|