mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 13:14:21 +01:00
Update le to use our python images (#543)
* Update le to use our python images * Add helper for build * Fix build
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 3.0
|
||||
- Use our Python base images with cerbot 0.32.0
|
||||
|
||||
## 2.3
|
||||
- Update certbot to 0.30.2
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
ARG BUILD_FROM
|
||||
FROM $BUILD_FROM
|
||||
|
||||
# Add env
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
# Setup base
|
||||
RUN apk add --no-cache certbot
|
||||
ARG CERTBOT_VERSION
|
||||
RUN apk add --no-cache \
|
||||
openssl libffi musl libstdc++ \
|
||||
&& apk add --no-cache --virtual .build-dependencies \
|
||||
g++ musl-dev openssl-dev libffi-dev \
|
||||
&& pip3 install --no-cache-dir certbot==${CERTBOT_VERSION} \
|
||||
&& apk del .build-dependencies
|
||||
|
||||
# Copy data
|
||||
COPY run.sh /
|
||||
|
||||
12
letsencrypt/build.json
Normal file
12
letsencrypt/build.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"build_from": {
|
||||
"amd64": "homeassistant/amd64-base-python:3.7",
|
||||
"i386": "homeassistant/i386-base-python:3.7",
|
||||
"armhf": "homeassistant/armhf-base-python:3.7",
|
||||
"armv7": "homeassistant/armv7-base-python:3.7",
|
||||
"aarch64": "homeassistant/aarch64-base-python:3.7"
|
||||
},
|
||||
"args": {
|
||||
"CERTBOT_VERSION": "0.32.0"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Let's Encrypt",
|
||||
"version": "2.3",
|
||||
"version": "3.0",
|
||||
"slug": "letsencrypt",
|
||||
"description": "Manage certificate from Let's Encrypt",
|
||||
"url": "https://home-assistant.io/addons/lets_encrypt/",
|
||||
|
||||
Reference in New Issue
Block a user