FROM debian:11 # Update/upgrade RUN apt-get update RUN apt-get upgrade -y RUN apt-get install --no-install-recommends --yes rsyslog openvpn ssh less vim iputils-ping net-tools RUN mkdir /root/.ssh RUN chmod 700 /root/.ssh RUN touch /root/.ssh/authorized_keys COPY entrypoint.sh /usr/local/sbin/entrypoint.sh RUN chmod 755 /usr/local/sbin/entrypoint.sh ENTRYPOINT /usr/local/sbin/entrypoint.sh