use the new lsio ha wheel repo

This commit is contained in:
aptalca 2021-09-25 19:20:11 -04:00
parent c9c60f0d77
commit db32fea13b
5 changed files with 5 additions and 12 deletions

View File

@ -9,7 +9,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="saarg, roxedus"
# environment settings
ENV PIPFLAGS="--no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ --find-links https://wheels.home-assistant.io/alpine-3.14/amd64/ --find-links https://wheels.home-assistant.io/alpine-3.13/amd64/ --find-links https://wheels.home-assistant.io/alpine-3.13/amd64/" PYTHONPATH="${PYTHONPATH}:/pip-packages"
ENV PIPFLAGS="--no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -find-links https://wheel-index.linuxserver.io/homeassistant/ PYTHONPATH="${PYTHONPATH}:/pip-packages"
# copy local files
COPY root/ /
@ -80,9 +80,6 @@ RUN \
pip==20.2 \
wheel && \
cd /tmp/core && \
CISO8601=$(grep 'ciso8601' requirements.txt) && \
PSYCOPG=$(curl -sL "https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/requirements.txt" | grep 'psycopg2') && \
pip install ${CISO8601} ${PSYCOPG} && \
pip install ${PIPFLAGS} \
homeassistant==${HASS_RELEASE} && \
pip install ${PIPFLAGS} \

View File

@ -9,7 +9,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="saarg, roxedus"
# environment settings
ENV PIPFLAGS="--no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ --find-links https://wheels.home-assistant.io/alpine-3.14/aarch64/ --find-links https://wheels.home-assistant.io/alpine-3.13/aarch64/ --find-links https://wheels.home-assistant.io/alpine-3.12/aarch64/" PYTHONPATH="${PYTHONPATH}:/pip-packages"
ENV PIPFLAGS="--no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -find-links https://wheel-index.linuxserver.io/homeassistant/ PYTHONPATH="${PYTHONPATH}:/pip-packages"
# copy local files
COPY root/ /
@ -79,9 +79,6 @@ RUN \
pip==20.2 \
wheel && \
cd /tmp/core && \
CISO8601=$(grep 'ciso8601' requirements.txt) && \
PSYCOPG=$(curl -sL "https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/requirements.txt" | grep 'psycopg2') && \
pip install ${CISO8601} ${PSYCOPG} && \
pip install ${PIPFLAGS} \
homeassistant==${HASS_RELEASE} && \
pip install ${PIPFLAGS} \

View File

@ -9,7 +9,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="saarg, roxedus"
# environment settings
ENV PIPFLAGS="--no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ --find-links https://wheels.home-assistant.io/alpine-3.14/armhf/ --find-links https://wheels.home-assistant.io/alpine-3.13/armhf/ --find-links https://wheels.home-assistant.io/alpine-3.12/armhf/" PYTHONPATH="${PYTHONPATH}:/pip-packages"
ENV PIPFLAGS="--no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ --find-links https://wheel-index.linuxserver.io/homeassistant/ PYTHONPATH="${PYTHONPATH}:/pip-packages"
# copy local files
COPY root/ /
@ -79,9 +79,6 @@ RUN \
pip==20.2 \
wheel && \
cd /tmp/core && \
CISO8601=$(grep 'ciso8601' requirements.txt) && \
PSYCOPG=$(curl -sL "https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/requirements.txt" | grep 'psycopg2') && \
pip install ${CISO8601} ${PSYCOPG} && \
pip install ${PIPFLAGS} \
homeassistant==${HASS_RELEASE} && \
pip install ${PIPFLAGS} \

View File

@ -237,6 +237,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **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.
* **12.09.21:** - Rebase to alpine 3.14. Build on native armhf.

View File

@ -58,6 +58,7 @@ app_setup_block: |
# changelog
changelogs:
- { 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." }
- { date: "12.09.21:", desc: "Rebase to alpine 3.14. Build on native armhf." }