diff --git a/tor/CHANGELOG.md b/tor/CHANGELOG.md index 42e65ce13..4d400c51a 100644 --- a/tor/CHANGELOG.md +++ b/tor/CHANGELOG.md @@ -30,3 +30,7 @@ ## 5.0.2-4 (13-02-2025) - Init build procedure + +## 5.0.2-5 (13-02-2025) + +- Init build procedure diff --git a/tor/Dockerfile b/tor/Dockerfile index 78a81175c..941516634 100644 --- a/tor/Dockerfile +++ b/tor/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_FROM +ARG BUILD_FROM=ghcr.io/hassio-addons/base:17.1.4 # hadolint ignore=DL3006 FROM ${BUILD_FROM} @@ -11,13 +11,13 @@ COPY rootfs / # Setup base RUN \ apk add --no-cache \ - coreutils=9.5-r2 \ - openssl=3.3.3-r0 \ - tor=0.4.8.14-r1 \ - go=1.23.6-r0 \ - git=2.47.2-r0 \ - ca-certificates=20241121-r1 \ - libcap=2.71-r0 + coreutils=9.5-r2 \ + openssl=3.3.3-r0 \ + tor=0.4.8.14-r1 \ + go=1.23.6-r0 \ + git=2.47.2-r0 \ + ca-certificates=20241121-r1 \ + libcap=2.71-r0 # Download pluggable-transports sources WORKDIR /go @@ -25,8 +25,8 @@ ARG OBFS_VERSION=obfs4proxy-0.0.14 ARG SNOWFLAKE_VERSION=v2.10.1 ARG WEBTUNNEL_VERSION=v0.0.2 RUN git clone -b ${OBFS_VERSION} --single-branch --depth 1 https://github.com/Yawning/obfs4.git \ - && git clone -b ${SNOWFLAKE_VERSION} --single-branch --depth 1 https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git \ - && git clone -b ${WEBTUNNEL_VERSION} --single-branch --depth 1 https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel.git + && git clone -b ${SNOWFLAKE_VERSION} --single-branch --depth 1 https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git \ + && git clone -b ${WEBTUNNEL_VERSION} --single-branch --depth 1 https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel.git # Build obfs4proxy WORKDIR /go/obfs4 @@ -56,11 +56,11 @@ HEALTHCHECK \ --interval=60s \ --timeout=30s \ CMD curl \ - --silent \ - --location \ - --socks5-hostname localhost:9050 \ - https://check.torproject.org/?lang=en_US \ - | grep -qm1 Congratulations + --silent \ + --location \ + --socks5-hostname localhost:9050 \ + https://check.torproject.org/?lang=en_US \ + | grep -qm1 Congratulations # Build arguments ARG BUILD_ARCH diff --git a/tor/config.json b/tor/config.json index 00c6e4d21..908c0710d 100644 --- a/tor/config.json +++ b/tor/config.json @@ -51,5 +51,5 @@ "slug": "tor", "startup": "services", "url": "https://github.com/alexbelgium/hassio-addons", - "version": "5.0.2-4" + "version": "5.0.2-5" }