Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

21 linhas
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