mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
682475d05b
Signed-off-by: Jess Frazelle <acidburn@google.com>
24 lines
637 B
Docker
24 lines
637 B
Docker
FROM debian:stretch
|
|
MAINTAINER Jessie Frazelle <jess@linux.com>
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
ca-certificates \
|
|
curl \
|
|
dirmngr \
|
|
gnupg \
|
|
--no-install-recommends
|
|
|
|
RUN export GNUPGHOME="$(mktemp -d)" \
|
|
&& gpg --no-tty --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"
|
|
|
|
ENTRYPOINT [ "certbot-auto" ]
|