mirror of
https://gitee.com/jiulinxiri/ssh-scp-deploy.git
synced 2025-09-10 10:19:49 +08:00
15 lines
271 B
Docker
15 lines
271 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk update && \
|
|
apk add --no-cache ca-certificates \
|
|
openssh-client \
|
|
sshpass \
|
|
bash
|
|
|
|
COPY LICENSE README.md /
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
COPY with_key.sh /with_key.sh
|
|
COPY with_pass.sh /with_pass.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"] |