您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

19 行
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