Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

21 lines
658B

  1. FROM BASE_IMAGE_PLACEHOLDER
  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 apt-get update && apt-get install -y haproxy cron certbot
  6. RUN mkdir -p /run/haproxy
  7. COPY haproxy.cfg /etc/haproxy/haproxy.cfg
  8. COPY haproxy_letsencrypt.cfg /etc/haproxy/haproxy_letsencrypt.cfg
  9. COPY startup.sh /usr/local/bin/
  10. RUN chmod +x /usr/local/bin/startup.sh
  11. COPY letsencrypt.cron /usr/local/bin/
  12. RUN chmod +x /usr/local/bin/letsencrypt.cron
  13. #CMD haproxy -f /etc/haproxy/haproxy.cfg
  14. CMD /usr/local/bin/startup.sh