mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
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:
@@ -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"
|
||||
|
||||
@@ -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} \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user