mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
ada: Update to Debian bullseye (#2415)
* Update to Debian bullseye * Install non-editable Currently editable installation seems to be broken (Python can't find the ada module if installed in editable mode). * Drop ada directory after installation
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 1.2.0
|
||||
- Update to Debian bullseye
|
||||
|
||||
## 1.1.1
|
||||
|
||||
- Fix aarch64 support
|
||||
|
||||
@@ -2,7 +2,7 @@ ARG BUILD_FROM
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
# Install Ada
|
||||
WORKDIR /usr/src/ada
|
||||
WORKDIR /usr/src
|
||||
ARG ADA_VERSION
|
||||
|
||||
RUN apt-get update \
|
||||
@@ -19,12 +19,11 @@ RUN apt-get update \
|
||||
build-essential \
|
||||
\
|
||||
&& git clone --depth 1 -b ${ADA_VERSION} \
|
||||
"https://github.com/home-assistant/ada" . \
|
||||
&& rm -rf .git \
|
||||
"https://github.com/home-assistant/ada" \
|
||||
&& pip3 install --no-cache-dir -U setuptools wheel \
|
||||
&& pip3 install --no-cache-dir -r requirements.txt \
|
||||
&& pip3 install --no-cache-dir -e . \
|
||||
&& python3 -m compileall ada \
|
||||
&& pip3 install --no-cache-dir -r ada/requirements.txt \
|
||||
&& pip3 install --no-cache-dir ada/ \
|
||||
&& rm -rf ada \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove \
|
||||
git \
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
build_from:
|
||||
amd64: ghcr.io/home-assistant/amd64-base-debian:buster
|
||||
armhf: ghcr.io/home-assistant/armhf-base-debian:buster
|
||||
armv7: ghcr.io/home-assistant/armv7-base-debian:buster
|
||||
amd64: ghcr.io/home-assistant/amd64-base-debian:bullseye
|
||||
armhf: ghcr.io/home-assistant/armhf-base-debian:bullseye
|
||||
armv7: ghcr.io/home-assistant/armv7-base-debian:bullseye
|
||||
aarch64: ghcr.io/home-assistant/aarch64-base-debian:bullseye
|
||||
codenotary:
|
||||
signer: notary@home-assistant.io
|
||||
base_image: notary@home-assistant.io
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version: 1.1.1
|
||||
version: 1.2.0
|
||||
slug: ada
|
||||
name: Hey Ada!
|
||||
description: Voice assistant powered by Home Assistant
|
||||
@@ -6,6 +6,7 @@ url: https://github.com/home-assistant/hassio-addons/blob/master/ada
|
||||
arch:
|
||||
- armhf
|
||||
- armv7
|
||||
- aarch64
|
||||
- amd64
|
||||
audio: true
|
||||
homeassistant: 0.102.0
|
||||
|
||||
Reference in New Issue
Block a user