diff --git a/browser_brave/CHANGELOG.md b/browser_brave/CHANGELOG.md index 148cdb0e7..4b0cf51d3 100644 --- a/browser_brave/CHANGELOG.md +++ b/browser_brave/CHANGELOG.md @@ -1,3 +1,6 @@ + +## 1.86.142-ls71 (2026-01-24) +- Update to latest version from linuxserver/docker-brave (changelog : https://github.com/linuxserver/docker-brave/releases) ## 1.86.139-ls69-7 (16-01-2026) - Minor bugs fixed ## 1.86.139-ls69-6 (16-01-2026) diff --git a/browser_brave/Dockerfile b/browser_brave/Dockerfile deleted file mode 120000 index 80ffe51e2..000000000 --- a/browser_brave/Dockerfile +++ /dev/null @@ -1 +0,0 @@ -../browser_chromium/Dockerfile \ No newline at end of file diff --git a/browser_brave/Dockerfile b/browser_brave/Dockerfile new file mode 100644 index 000000000..7f89cb41b --- /dev/null +++ b/browser_brave/Dockerfile @@ -0,0 +1,134 @@ +#============================# +# ALEXBELGIUM'S DOCKERFILE # +#============================# +# _.------. +# _.-` ('>.-`"""-. +# '.--'` _'` _ .--.) +# -' '-.-';` ` +# ' - _.' ``'--. +# '---` .-'""` +# /` +#=== Home Assistant Addon ===# + +################# +# 1 Build Image # +################# + +ARG BUILD_FROM +ARG BUILD_VERSION +FROM ${BUILD_FROM} + +################## +# 2 Modify Image # +################## + +# Set S6 wait time +ENV S6_CMD_WAIT_FOR_SERVICES=1 \ + S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ + S6_SERVICES_GRACETIME=0 + +USER root + +# load volume +VOLUME [ "/sys/fs/cgroup" ] + +# Set shell +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# Allow UID and GID setting +# hadolint ignore=SC2015,DL4006,SC2013,SC2086 +RUN \ + # Change home folder location + usermod --home /config abc && \ + \ + # Set +e + if [[ -d /etc/services.d ]] && ls /etc/services.d/*/run 1> /dev/null 2>&1; then sed -i "1a set +e" /etc/services.d/*/run; fi + +# Modify commands +RUN sed -i '/no-first-run/a\ --remote-debugging-address=0.0.0.0 --remote-debugging-port=9221 \\' /usr/bin/wrapped-* + +# Global LSIO modifications +ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" +ARG CONFIGLOCATION="/config" +RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh + +################## +# 3 Install apps # +################## + +# Add rootfs +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; + +RUN chmod 777 /etc/usr/bin/wrapped-* + +# Uses /bin for compatibility purposes +# hadolint ignore=DL4005 +RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; fi && \ + if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi + +# Modules +ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh 90-dns_set.sh" + +# Automatic modules download +ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh" +RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh + +# Manual apps +ENV PACKAGES="nginx kwalletmanager" + +# Automatic apps & bashio +ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh" +RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh + +################ +# 4 Entrypoint # +################ + +# Add entrypoint +ENV S6_STAGE2_HOOK=/ha_entrypoint.sh +ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" +RUN chmod 777 /ha_entrypoint.sh + +# Standalone bashio command +# ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" +# RUN chmod 777 /.bashio-standalone.sh + +#WORKDIR / +#ENTRYPOINT [ "/usr/bin/env" ] +#CMD [ "/ha_entrypoint.sh" ] + +############ +# 5 Labels # +############ + +ARG BUILD_ARCH +ARG BUILD_DATE +ARG BUILD_DESCRIPTION +ARG BUILD_NAME +ARG BUILD_REF +ARG BUILD_REPOSITORY +ARG BUILD_VERSION +ENV BUILD_VERSION="${BUILD_VERSION}" +LABEL \ + io.hass.name="${BUILD_NAME}" \ + io.hass.description="${BUILD_DESCRIPTION}" \ + io.hass.arch="${BUILD_ARCH}" \ + io.hass.type="addon" \ + io.hass.version=${BUILD_VERSION} \ + maintainer="alexbelgium (https://github.com/alexbelgium)" \ + org.opencontainers.image.title="${BUILD_NAME}" \ + org.opencontainers.image.description="${BUILD_DESCRIPTION}" \ + org.opencontainers.image.vendor="Home Assistant Add-ons" \ + org.opencontainers.image.authors="alexbelgium (https://github.com/alexbelgium)" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.url="https://github.com/alexbelgium" \ + org.opencontainers.image.source="https://github.com/${BUILD_REPOSITORY}" \ + org.opencontainers.image.documentation="https://github.com/${BUILD_REPOSITORY}/blob/main/README.md" \ + org.opencontainers.image.created=${BUILD_DATE} \ + org.opencontainers.image.revision=${BUILD_REF} \ + org.opencontainers.image.version=${BUILD_VERSION} + +#################### +# 6 HealthcheckNOT # +#################### diff --git a/browser_brave/config.yaml b/browser_brave/config.yaml index 4f6377ad9..a5cc01d26 100644 --- a/browser_brave/config.yaml +++ b/browser_brave/config.yaml @@ -69,5 +69,5 @@ slug: brave tmpfs: true udev: true url: https://github.com/alexbelgium/hassio-addons -version: "1.86.139-ls69-7" +version: "1.86.142-ls71" video: true diff --git a/browser_brave/updater.json b/browser_brave/updater.json index 17938cdc6..7c0a03b8d 100644 --- a/browser_brave/updater.json +++ b/browser_brave/updater.json @@ -1,9 +1,9 @@ { "github_fulltag": "true", - "last_update": "2026-01-16", + "last_update": "2026-01-24", "repository": "alexbelgium/hassio-addons", "slug": "brave", "source": "github", "upstream_repo": "linuxserver/docker-brave", - "upstream_version": "1.86.139-ls69" + "upstream_version": "1.86.142-ls71" }