18 lines
516 B
Plaintext
18 lines
516 B
Plaintext
ARG HAPROXY_IMG
|
|
FROM $HAPROXY_IMG as production
|
|
|
|
USER root
|
|
RUN apk add openssl certbot py-pip
|
|
RUN pip install certbot-plugin-gandi
|
|
|
|
COPY letsencrypt-hook-deploy-concatenante.sh /
|
|
COPY letsencrypt.sh /usr/local/sbin/
|
|
COPY letsencrypt-renew-cron.sh /etc/periodic/daily/letsencrypt-renew
|
|
COPY auto-generate-certs.sh /usr/local/sbin/
|
|
|
|
COPY docker-entrypoint.sh /usr/local/bin/
|
|
RUN ln -s /usr/local/bin/docker-entrypoint.sh /
|
|
RUN chmod 775 docker-entrypoint.sh
|
|
|
|
ADD haproxy-behind.conf /usr/local/etc/haproxy/haproxy.cfg
|