ha-remote-vpn/Dockerfile

12 lines
393 B
Text
Raw Normal View History

2023-01-07 14:30:29 +01:00
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