2016-09-19 20:12:01 +02:00
|
|
|
FROM debian:stretch
|
2016-09-20 00:25:05 +02:00
|
|
|
MAINTAINER Jessie Frazelle <jess@linux.com>
|
2016-05-23 03:25:36 +02:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
2016-10-01 05:12:42 +02:00
|
|
|
dirmngr \
|
2016-09-21 02:31:29 +02:00
|
|
|
gnupg \
|
2016-05-23 03:25:36 +02:00
|
|
|
--no-install-recommends
|
|
|
|
|
|
|
|
RUN export GNUPGHOME="$(mktemp -d)" \
|
2016-12-02 21:02:40 +01:00
|
|
|
&& gpg --no-tty --keyserver pgp.mit.edu --recv-key A2CFB51FA275A7286234E7B24D17C995CD9775F2 \
|
2016-05-23 03:25:36 +02:00
|
|
|
&& ( \
|
|
|
|
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/ \
|
|
|
|
) \
|
2016-07-10 04:25:22 +02:00
|
|
|
&& rm -r "$GNUPGHOME"
|
2016-05-23 03:25:36 +02:00
|
|
|
|
|
|
|
ENTRYPOINT [ "certbot-auto" ]
|