From 85b73619dc7a55b52d3427a39cd12257d7807227 Mon Sep 17 00:00:00 2001 From: tsightler Date: Wed, 10 Dec 2025 23:29:49 -0500 Subject: [PATCH] Update go2rtc --- Dockerfile | 1 - scripts/update2branch.sh | 18 ++---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c045f7..29146c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,6 @@ RUN S6_VERSION="v3.2.1.0" && \ exit 1;; \ esac && \ curl -L -s -o /usr/local/bin/go2rtc "https://github.com/AlexxIT/go2rtc/releases/download/${GO2RTC_VERSION}/go2rtc_linux_${GO2RTC_ARCH}" && \ - cp "/app/ring-mqtt/bin/go2rtc_linux_${GO2RTC_ARCH}" /usr/local/bin/go2rtc && \ chmod +x /usr/local/bin/go2rtc && \ rm -rf /app/ring-mqtt/bin && \ curl -J -L -o /tmp/bashio.tar.gz "https://github.com/hassio-addons/bashio/archive/${BASHIO_VERSION}.tar.gz" && \ diff --git a/scripts/update2branch.sh b/scripts/update2branch.sh index 5b26a87..bb73746 100644 --- a/scripts/update2branch.sh +++ b/scripts/update2branch.sh @@ -22,7 +22,7 @@ else echo "The ring-mqtt-${BRANCH} branch has been updated." APK_ARCH="$(apk --print-arch)" - GO2RTC_VERSION="v1.9.4" + GO2RTC_VERSION="v1.9.12" case "${APK_ARCH}" in x86_64) GO2RTC_ARCH="amd64" @@ -39,23 +39,9 @@ else ;; esac rm -f /usr/local/bin/go2rtc -# curl -L -s -o /usr/local/bin/go2rtc "https://github.com/AlexxIT/go2rtc/releases/download/${GO2RTC_VERSION}/go2rtc_linux_${GO2RTC_ARCH}" - cp "/app/ring-mqtt-${BRANCH}/bin/go2rtc_linux_${GO2RTC_ARCH}" /usr/local/bin/go2rtc + curl -L -s -o /usr/local/bin/go2rtc "https://github.com/AlexxIT/go2rtc/releases/download/${GO2RTC_VERSION}/go2rtc_linux_${GO2RTC_ARCH}" chmod +x /usr/local/bin/go2rtc -# case "${APK_ARCH}" in -# x86_64) -# apk del npm nodejs -# apk add libstdc++ -# cd /opt -# wget https://unofficial-builds.nodejs.org/download/release/v22.11.0/node-v22.11.0-linux-x64-musl.tar.gz -# mkdir nodejs -# tar -zxvf *.tar.gz --directory /opt/nodejs --strip-components=1 -# ln -s /opt/nodejs/bin/node /usr/local/bin/node -# ln -s /opt/nodejs/bin/npm /usr/local/bin/npm -# ;; -# esac - cp -f "/app/ring-mqtt-${BRANCH}/init/s6/services.d/ring-mqtt/run" /etc/services.d/ring-mqtt/run chmod +x /etc/services.d/ring-mqtt/run fi \ No newline at end of file