mirror of
https://github.com/linuxserver/docker-homeassistant.git
synced 2026-02-20 08:40:45 +08:00
use the new build.yaml to get HA base version
This commit is contained in:
parent
309b73d3c6
commit
25c30afafe
@ -70,9 +70,9 @@ RUN \
|
||||
tar xf \
|
||||
/tmp/core.tar.gz -C \
|
||||
/tmp/core --strip-components=1 && \
|
||||
HASS_BASE=$(cat /tmp/core/build.json \
|
||||
| jq -r .build_from.amd64 \
|
||||
| cut -d: -f2) && \
|
||||
HASS_BASE=$(cat /tmp/core/build.yaml \
|
||||
| grep 'amd64: ' \
|
||||
| cut -d: -f3) && \
|
||||
mkdir -p /pip-packages && \
|
||||
pip install --target /pip-packages --no-cache-dir --upgrade \
|
||||
distlib && \
|
||||
|
||||
@ -70,9 +70,9 @@ RUN \
|
||||
tar xf \
|
||||
/tmp/core.tar.gz -C \
|
||||
/tmp/core --strip-components=1 && \
|
||||
HASS_BASE=$(cat /tmp/core/build.json \
|
||||
| jq -r .build_from.aarch64 \
|
||||
| cut -d: -f2) && \
|
||||
HASS_BASE=$(cat /tmp/core/build.yaml \
|
||||
| grep 'amd64: ' \
|
||||
| cut -d: -f3) && \
|
||||
pip install --target /pip-packages --no-cache-dir --upgrade \
|
||||
distlib && \
|
||||
pip install --no-cache-dir --upgrade \
|
||||
|
||||
@ -70,9 +70,9 @@ RUN \
|
||||
tar xf \
|
||||
/tmp/core.tar.gz -C \
|
||||
/tmp/core --strip-components=1 && \
|
||||
HASS_BASE=$(cat /tmp/core/build.json \
|
||||
| jq -r .build_from.armhf \
|
||||
| cut -d: -f2) && \
|
||||
HASS_BASE=$(cat /tmp/core/build.yaml \
|
||||
| grep 'amd64: ' \
|
||||
| cut -d: -f3) && \
|
||||
pip install --target /pip-packages --no-cache-dir --upgrade \
|
||||
distlib && \
|
||||
pip install --no-cache-dir --upgrade \
|
||||
|
||||
@ -238,6 +238,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **12.12.21:** - Use the new `build.yaml` to determine HA base version.
|
||||
* **25.09.21:** - Use the new lsio homeassistant wheel repo, instead of the HA wheels.
|
||||
* **13.09.21:** - Build psycopg locally as the HA provided wheel does not seem to work properly.
|
||||
* **13.09.21:** - Fix setcap in service. Build CISO8601 locally as the HA provided wheel does not seem to work properly.
|
||||
|
||||
@ -59,6 +59,7 @@ unraid_template_sync: false
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "12.12.21:", desc: "Use the new `build.yaml` to determine HA base version." }
|
||||
- { date: "25.09.21:", desc: "Use the new lsio homeassistant wheel repo, instead of the HA wheels." }
|
||||
- { date: "13.09.21:", desc: "Build psycopg locally as the HA provided wheel does not seem to work properly." }
|
||||
- { date: "13.09.21:", desc: "Fix setcap in service. Build CISO8601 locally as the HA provided wheel does not seem to work properly." }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user