Files
docker_ssh_auth_key_challenge/client/Dockerfile
2022-12-20 22:15:44 -05:00

12 lines
243 B
Docker

FROM alpine:3.16
RUN apk --no-cache add openrc openssh bash && \
ssh-keygen -A && \
mkdir -p /run/openrc && \
touch /run/openrc/softlevel
COPY scripts /opt/scripts
RUN chmod 700 /opt/scripts
ENTRYPOINT ["/opt/scripts/setup.sh"]