11 lines
251 B
Docker
11 lines
251 B
Docker
|
FROM alpine:latest
|
||
|
RUN apk --update add openssh && rm -rf /var/cache/apk/*
|
||
|
|
||
|
COPY motd /etc/motd
|
||
|
COPY sshd_config /etc/ssh/sshd_config
|
||
|
COPY authorized_keys /etc/ssh/authorized_keys
|
||
|
COPY entrypoint.sh /entrypoint.sh
|
||
|
|
||
|
EXPOSE 22
|
||
|
ENTRYPOINT /entrypoint.sh
|