mirror of
https://github.com/linuxserver/docker-homeassistant.git
synced 2026-02-20 08:40:45 +08:00
rebase to 3.14, add more wheel indices
This commit is contained in:
parent
426fc9ab07
commit
ae9a730994
@ -1,4 +1,4 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.13
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.14
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@ -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.13/amd64/" PYTHONPATH="${PYTHONPATH}:/pip-packages"
|
||||
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"
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
@ -22,6 +22,7 @@ RUN \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
autoconf \
|
||||
ca-certificates \
|
||||
cargo \
|
||||
cmake \
|
||||
eudev-dev \
|
||||
ffmpeg-dev \
|
||||
@ -90,7 +91,8 @@ RUN \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/root/.cache
|
||||
/root/.cache \
|
||||
/root/.cargo
|
||||
|
||||
# environment settings. used so pip packages installed by home assistant installs in /config
|
||||
ENV HOME="/config"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.12
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.14
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@ -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.13/aarch64/" PYTHONPATH="${PYTHONPATH}:/pip-packages"
|
||||
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"
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
@ -22,6 +22,7 @@ RUN \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
autoconf \
|
||||
ca-certificates \
|
||||
cargo \
|
||||
cmake \
|
||||
eudev-dev \
|
||||
ffmpeg-dev \
|
||||
@ -89,7 +90,8 @@ RUN \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/root/.cache
|
||||
/root/.cache \
|
||||
/root/.cargo
|
||||
|
||||
# environment settings. used so pip packages installed by home assistant installs in /config
|
||||
ENV HOME="/config"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.12
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.14
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@ -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.13/armhf/" PYTHONPATH="${PYTHONPATH}:/pip-packages"
|
||||
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"
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
@ -22,6 +22,7 @@ RUN \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
autoconf \
|
||||
ca-certificates \
|
||||
cargo \
|
||||
cmake \
|
||||
eudev-dev \
|
||||
ffmpeg-dev \
|
||||
@ -89,7 +90,8 @@ RUN \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/root/.cache
|
||||
/root/.cache \
|
||||
/root/.cargo
|
||||
|
||||
# environment settings. used so pip packages installed by home assistant installs in /config
|
||||
ENV HOME="/config"
|
||||
|
||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -432,7 +432,7 @@ pipeline {
|
||||
}
|
||||
stage('Build ARMHF') {
|
||||
agent {
|
||||
label 'ARMHF'
|
||||
label 'ARMHF-NATIVE'
|
||||
}
|
||||
steps {
|
||||
echo "Running on node: ${NODE_NAME}"
|
||||
|
||||
@ -237,6 +237,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **12.09.21:** - Rebase to alpine 3.14. Build on native armhf.
|
||||
* **09.08.21:** - Fixed broken build caused by missing dependency.
|
||||
* **01.07.21:** - Remove HACS dependencies as it caused a crash in Home-assistant.
|
||||
* **25.02.21:** - Add python dependencies from homeassistant base image.
|
||||
|
||||
@ -6,6 +6,7 @@ external_type: pip_version
|
||||
release_type: stable
|
||||
release_tag: latest
|
||||
ls_branch: main
|
||||
armhf_native: true
|
||||
repo_vars:
|
||||
- EXT_RELEASE_TYPE = 'pip_version'
|
||||
- EXT_PIP = 'homeassistant'
|
||||
|
||||
@ -58,6 +58,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "12.09.21:", desc: "Rebase to alpine 3.14. Build on native armhf." }
|
||||
- { date: "09.08.21:", desc: "Fixed broken build caused by missing dependency." }
|
||||
- { date: "01.07.21:", desc: "Remove HACS dependencies as it caused a crash in Home-assistant." }
|
||||
- { date: "25.02.21:", desc: "Add python dependencies from homeassistant base image." }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user