From: Clifton Palmer Date: Mon, 23 Jun 2025 13:59:21 +0000 (-0500) Subject: Make sure the local docker image is always up to date X-Git-Url: http://git.purplebirdman.com/web-certificates.git/commitdiff_plain/HEAD Make sure the local docker image is always up to date --- 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" \