8
Some checks failed
Builder / Build addons (localai-p2p-master, amd64) (push) Failing after 8s
Builder / Build addons (localai-p2p-worker, amd64) (push) Failing after 8s
Validate / validate (push) Failing after 2s
Builder / Create release (push) Has been skipped

This commit is contained in:
2025-05-30 15:11:13 +02:00
parent 60a325bb74
commit 10a8425bb7
5 changed files with 59 additions and 27 deletions

View File

@@ -5,6 +5,19 @@ FROM localai/localai:latest-cpu
ENV LOCALAI_P2P="true"
ENV LOCALAI_FEDERATED="true"
# Installer bashio pour accéder à la configuration Home Assistant
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl jq && \
curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.16.2.tar.gz" && \
mkdir /tmp/bashio && \
tar zxvf /tmp/bashio.tar.gz --strip 1 -C /tmp/bashio && \
mv /tmp/bashio/lib /usr/lib/bashio && \
ln -s /usr/lib/bashio/bashio /usr/bin/bashio && \
rm -rf /tmp/bashio* && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY run.sh /build/custom-entrypoint.sh
RUN chmod +x /build/custom-entrypoint.sh