mirror of
https://github.com/linuxserver/docker-homeassistant.git
synced 2026-02-20 08:40:45 +08:00
Add go2rtc binary
This commit is contained in:
parent
f95b067fa5
commit
39d14f6b1d
@ -12,6 +12,7 @@ LABEL maintainer="saarg, roxedus"
|
||||
ENV \
|
||||
S6_SERVICES_GRACETIME=240000 \
|
||||
UV_SYSTEM_PYTHON=true \
|
||||
UV_NO_CACHE=true \
|
||||
UV_EXTRA_INDEX_URL="https://wheels.home-assistant.io/musllinux-index/"
|
||||
|
||||
COPY root/etc/pip.conf /etc/
|
||||
@ -136,6 +137,13 @@ RUN \
|
||||
| grep 'PIP_VERSION: ' \
|
||||
| sed 's|.*PIP_VERSION: ||') && \
|
||||
HA_UV_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/Dockerfile" | grep 'install uv==' | sed 's|RUN pip3 install uv==||') && \
|
||||
HA_GO2RTC_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/Dockerfile" | grep 'AlexxIT/go2rtc/releases/download' | sed -r 's|^.*AlexxIT/go2rtc/releases/download/(.*)/go2rtc_linux.*$|\1|') && \
|
||||
curl -o \
|
||||
/bin/go2rtc -fL \
|
||||
"https://github.com/AlexxIT/go2rtc/releases/download/${HA_GO2RTC_VERSION}/go2rtc_linux_amd64" && \
|
||||
chmod +x /bin/go2rtc && \
|
||||
echo "**** Quick test go2rtc binary: ****" && \
|
||||
/bin/go2rtc --version && \
|
||||
echo "**** install jemalloc ****" && \
|
||||
git clone --branch ${HA_JEMALLOC_VER} \
|
||||
--depth 1 "https://github.com/jemalloc/jemalloc" \
|
||||
|
||||
@ -12,6 +12,7 @@ LABEL maintainer="saarg, roxedus"
|
||||
ENV \
|
||||
S6_SERVICES_GRACETIME=240000 \
|
||||
UV_SYSTEM_PYTHON=true \
|
||||
UV_NO_CACHE=true \
|
||||
UV_EXTRA_INDEX_URL="https://wheels.home-assistant.io/musllinux-index/"
|
||||
|
||||
COPY root/etc/pip.conf /etc/
|
||||
@ -136,6 +137,13 @@ RUN \
|
||||
| grep 'PIP_VERSION: ' \
|
||||
| sed 's|.*PIP_VERSION: ||') && \
|
||||
HA_UV_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/Dockerfile" | grep 'install uv==' | sed 's|RUN pip3 install uv==||') && \
|
||||
HA_GO2RTC_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/Dockerfile" | grep 'AlexxIT/go2rtc/releases/download' | sed -r 's|^.*AlexxIT/go2rtc/releases/download/(.*)/go2rtc_linux.*$|\1|') && \
|
||||
curl -o \
|
||||
/bin/go2rtc -fL \
|
||||
"https://github.com/AlexxIT/go2rtc/releases/download/${HA_GO2RTC_VERSION}/go2rtc_linux_arm64" && \
|
||||
chmod +x /bin/go2rtc && \
|
||||
echo "**** Quick test go2rtc binary: ****" && \
|
||||
/bin/go2rtc --version && \
|
||||
echo "**** install jemalloc ****" && \
|
||||
git clone --branch ${HA_JEMALLOC_VER} \
|
||||
--depth 1 "https://github.com/jemalloc/jemalloc" \
|
||||
|
||||
@ -316,6 +316,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **07.11.24:** - Add go2rtc binary.
|
||||
* **12.10.24:** - Allow uv to modify system python packages.
|
||||
* **07.10.24:** - Switch to `uv` instead of `pip`.
|
||||
* **03.07.24:** - Rebase to alpine 3.20.
|
||||
|
||||
@ -74,6 +74,7 @@ app_setup_block: |
|
||||
unraid_template_sync: false
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "07.11.24:", desc: "Add go2rtc binary."}
|
||||
- {date: "12.10.24:", desc: "Allow uv to modify system python packages."}
|
||||
- {date: "07.10.24:", desc: "Switch to `uv` instead of `pip`."}
|
||||
- {date: "03.07.24:", desc: "Rebase to alpine 3.20."}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user