diff --git a/letsencrypt/CHANGELOG.md b/letsencrypt/CHANGELOG.md index 7a97a51..7f74d88 100644 --- a/letsencrypt/CHANGELOG.md +++ b/letsencrypt/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 4.12.2 + +- Use HA wheels when possible during build + ## 4.12.1 - Set preferred chain to "ISRG Root X1" diff --git a/letsencrypt/Dockerfile b/letsencrypt/Dockerfile index 4f84ee1..b4cf85d 100644 --- a/letsencrypt/Dockerfile +++ b/letsencrypt/Dockerfile @@ -3,6 +3,8 @@ FROM $BUILD_FROM # setup base ARG \ + BUILD_ARCH \ + CRYPTOGRAPHY_VERSION \ CERTBOT_VERSION \ CERTBOT_DNS_DIRECTADMIN_VERSION \ CERTBOT_NETCUP_VERSION \ @@ -22,7 +24,9 @@ RUN \ musl-dev \ openssl-dev \ cargo \ - && pip3 install --no-cache-dir \ + && pip3 install --no-cache-dir --find-links \ + "https://wheels.home-assistant.io/alpine-$(cut -d '.' -f 1-2 < /etc/alpine-release)/${BUILD_ARCH}/" \ + cryptography==${CRYPTOGRAPHY_VERSION} \ certbot==${CERTBOT_VERSION} \ certbot-dns-cloudflare==${CERTBOT_VERSION} \ certbot-dns-cloudxns==${CERTBOT_VERSION} \ diff --git a/letsencrypt/build.yaml b/letsencrypt/build.yaml index 98435c0..593b8f7 100644 --- a/letsencrypt/build.yaml +++ b/letsencrypt/build.yaml @@ -9,6 +9,7 @@ codenotary: signer: notary@home-assistant.io base_image: notary@home-assistant.io args: + CRYPTOGRAPHY_VERSION: 36.0.2 CERTBOT_DNS_DIRECTADMIN_VERSION: 0.0.24 CERTBOT_DNS_TRANSIP_VERSION: 0.4.3 CERTBOT_GANDI_VERSION: 1.3.2 diff --git a/letsencrypt/config.yaml b/letsencrypt/config.yaml index 02c0fa2..0331b2d 100644 --- a/letsencrypt/config.yaml +++ b/letsencrypt/config.yaml @@ -1,5 +1,5 @@ --- -version: 4.12.1 +version: 4.12.2 slug: letsencrypt name: Let's Encrypt description: Manage certificate from Let's Encrypt