mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-27 16:56:02 +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:
@@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user