Dockerfile 415 B

123456789101112131415161718
  1. FROM debian:latest
  2. COPY files/* /opt/
  3. RUN apt-get update && \
  4. apt-get install -y curl tar gzip grep make gcc cpp
  5. RUN tar xzfp /opt/softether.tar.gz -C /opt && \
  6. rm -f /opt/softether.tar.gz
  7. RUN cd /opt/vpnserver && \
  8. ls -hal && \
  9. uname -a && cat /etc/os-release && \
  10. #make i_read_and_agree_the_license_agreement
  11. make
  12. RUN chmod 755 /opt/*.sh
  13. #ENTRYPOINT /bin/bash
  14. ENTRYPOINT /opt/start.sh