Dockerfile 314 B

12345678910111213
  1. FROM ubuntu:24.04
  2. ENV DEBIAN_FRONTEND=noninteractive
  3. RUN apt-get update \
  4. && apt-get -y install --no-install-recommends openvpn iproute2 ca-certificates \
  5. && apt-get clean \
  6. && rm -rf /var/lib/apt/lists/*
  7. COPY openvpn_init.sh /sbin/
  8. RUN chmod +x /sbin/openvpn_init.sh
  9. CMD ["/sbin/openvpn_init.sh"]