Use HA wheels during build (#2449)

* Use HA wheels during build

* BUILD_ARCH arg

* Remove only-binary flag

* Pin cryptography to 37.0.0 for wheel

* Pin cryptography to 36.0.2 for wheel

* Pass cryptography version as arg
This commit is contained in:
Mike Degatano
2022-04-28 02:11:18 -04:00
committed by GitHub
parent 10dd165d5c
commit 2b2eb8ff23
4 changed files with 11 additions and 2 deletions

View File

@@ -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"

View File

@@ -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} \

View File

@@ -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

View File

@@ -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