Browse Source

haproxy: Update Dockerfile

master
Bingen Eguzkitza 5 years ago
parent
commit
75a526c7b5
2 changed files with 6 additions and 6 deletions
  1. +1
    -3
      images/haproxy/Dockerfile
  2. +5
    -3
      images/haproxy/Dockerfile.template

+ 1
- 3
images/haproxy/Dockerfile View File

FROM debian:stretch 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 RUN mkdir -p /run/haproxy



+ 5
- 3
images/haproxy/Dockerfile.template View File

FROM BASE_IMAGE_PLACEHOLDER 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 RUN mkdir -p /run/haproxy



Loading…
Cancel
Save