From 08a62d61f5002ad33100bc15659a800a63a00574 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Sun, 22 May 2016 18:25:36 -0700 Subject: [PATCH] certbot Signed-off-by: Jess Frazelle --- certbot/Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 certbot/Dockerfile diff --git a/certbot/Dockerfile b/certbot/Dockerfile new file mode 100644 index 0000000..73fe0e0 --- /dev/null +++ b/certbot/Dockerfile @@ -0,0 +1,21 @@ +FROM debian:jessie +MAINTAINER Jessica Frazelle + +RUN apt-get update && apt-get install -y \ + ca-certificates \ + curl \ + --no-install-recommends + +RUN export GNUPGHOME="$(mktemp -d)" \ + && gpg --keyserver pgp.mit.edu --recv-key A2CFB51FA275A7286234E7B24D17C995CD9775F2 \ + && ( \ + cd /tmp \ + && curl -O https://dl.eff.org/certbot-auto \ + && chmod a+x ./certbot-auto \ + && curl -O https://dl.eff.org/certbot-auto.asc \ + && gpg --trusted-key 4D17C995CD9775F2 --verify certbot-auto.asc certbot-auto \ + && mv certbot-auto /usr/local/bin/ \ + ) \ + && rm -r "$GNUPGHOME" /tmp + +ENTRYPOINT [ "certbot-auto" ]