diff --git a/Dockerfile b/Dockerfile index 0c5087c..97f36fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,9 @@ MAINTAINER David Personette # Install tor and privoxy RUN apk --no-cache --no-progress upgrade && \ - apk --no-cache --no-progress add bash curl privoxy shadow tini tor tzdata&&\ + apk --no-cache --no-progress add bash curl privoxy shadow tini tor tzdata && \ file='/etc/privoxy/config' && \ + touch $file && \ sed -i 's|^\(accept-intercepted-requests\) .*|\1 1|' $file && \ sed -i '/^listen/s|127\.0\.0\.1||' $file && \ sed -i '/^listen.*::1/s|^|#|' $file && \ @@ -63,4 +64,4 @@ HEALTHCHECK --interval=60s --timeout=15s --start-period=20s \ VOLUME ["/etc/tor", "/var/lib/tor"] -ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/torproxy.sh"] \ No newline at end of file +ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/torproxy.sh"] diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 012dba9..86c1b8a 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -4,8 +4,9 @@ MAINTAINER David Personette # Install tor and privoxy RUN apk --no-cache --no-progress upgrade && \ - apk --no-cache --no-progress add bash curl privoxy shadow tini tor tzdata&&\ + apk --no-cache --no-progress add bash curl privoxy shadow tini tor tzdata && \ file='/etc/privoxy/config' && \ + touch $file && \ sed -i 's|^\(accept-intercepted-requests\) .*|\1 1|' $file && \ sed -i '/^listen/s|127\.0\.0\.1||' $file && \ sed -i '/^listen.*::1/s|^|#|' $file && \ @@ -64,4 +65,4 @@ HEALTHCHECK --interval=60s --timeout=15s --start-period=20s \ VOLUME ["/etc/tor", "/var/lib/tor"] -ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/torproxy.sh"] \ No newline at end of file +ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/torproxy.sh"] diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 3dc300e..5f4211d 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -4,8 +4,9 @@ MAINTAINER David Personette # Install tor and privoxy RUN apk --no-cache --no-progress upgrade && \ - apk --no-cache --no-progress add bash curl privoxy shadow tini tor tzdata&&\ + apk --no-cache --no-progress add bash curl privoxy shadow tini tor tzdata && \ file='/etc/privoxy/config' && \ + touch $file && \ sed -i 's|^\(accept-intercepted-requests\) .*|\1 1|' $file && \ sed -i '/^listen/s|127\.0\.0\.1||' $file && \ sed -i '/^listen.*::1/s|^|#|' $file && \ @@ -64,4 +65,4 @@ HEALTHCHECK --interval=60s --timeout=15s --start-period=20s \ VOLUME ["/etc/tor", "/var/lib/tor"] -ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/torproxy.sh"] \ No newline at end of file +ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/torproxy.sh"]