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"]