From b3ca11702d9a5c6f52646dc2773ca0676e167bb0 Mon Sep 17 00:00:00 2001 From: Clifton Palmer Date: Mon, 23 Jun 2025 08:59:21 -0500 Subject: [PATCH] Make sure the local docker image is always up to date --- fetch-certificates.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fetch-certificates.sh b/fetch-certificates.sh index b203ba0..887c665 100755 --- a/fetch-certificates.sh +++ b/fetch-certificates.sh @@ -1,6 +1,10 @@ #!/bin/bash # source: https://eff-certbot.readthedocs.io/en/latest/install.html#alternative-1-docker +# make sure the local image is always up to date +docker image pull certbot/dns-route53 + +# run local instance only long enough to collect the certificate docker run --rm --name certbot \ -v "/etc/letsencrypt:/etc/letsencrypt" \ -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \ -- 2.47.2