You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 line
584B

  1. FROM debian:stretch
  2. RUN echo deb http://deb.debian.org/debian jessie-backports main >> /etc/apt/sources.list
  3. RUN apt-get update && apt-get install -y haproxy cron \
  4. && apt-get install -y certbot -t jessie-backports
  5. RUN mkdir -p /run/haproxy
  6. COPY haproxy.cfg /etc/haproxy/haproxy.cfg
  7. COPY haproxy_letsencrypt.cfg /etc/haproxy/haproxy_letsencrypt.cfg
  8. COPY startup.sh /usr/local/bin/
  9. RUN chmod +x /usr/local/bin/startup.sh
  10. COPY letsencrypt.cron /usr/local/bin/
  11. RUN chmod +x /usr/local/bin/letsencrypt.cron
  12. #CMD haproxy -f /etc/haproxy/haproxy.cfg
  13. CMD /usr/local/bin/startup.sh