Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:
Jess Frazelle 2016-05-22 18:25:36 -07:00
parent 5298f3b9c4
commit 08a62d61f5
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

21
certbot/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>
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" ]