瀏覽代碼

haproxy: Update Dockerfile

master
Bingen Eguzkitza 5 年之前
父節點
當前提交
75a526c7b5
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. +1
    -3
      images/haproxy/Dockerfile
  2. +5
    -3
      images/haproxy/Dockerfile.template

+ 1
- 3
images/haproxy/Dockerfile 查看文件

@@ -1,8 +1,6 @@
FROM debian:stretch

RUN echo deb http://deb.debian.org/debian jessie-backports main >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y haproxy cron \
&& apt-get install -y certbot -t jessie-backports
RUN apt-get update && apt-get install -y haproxy cron certbot

RUN mkdir -p /run/haproxy


+ 5
- 3
images/haproxy/Dockerfile.template 查看文件

@@ -1,8 +1,10 @@
FROM BASE_IMAGE_PLACEHOLDER

RUN echo deb http://deb.debian.org/debian jessie-backports main >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y haproxy cron \
&& apt-get install -y certbot -t jessie-backports
#RUN echo deb http://deb.debian.org/debian jessie-backports main >> /etc/apt/sources.list
#RUN apt-get update && apt-get install -y haproxy cron \
# && apt-get install -y certbot -t jessie-backports

RUN apt-get update && apt-get install -y haproxy cron certbot

RUN mkdir -p /run/haproxy


Loading…
取消
儲存