From 29ff554ebf2b152d048e89f0167bfa993cae4516 Mon Sep 17 00:00:00 2001 From: avishmehta <98803019+avishmehta@users.noreply.github.com> Date: Wed, 2 Feb 2022 21:09:45 +0400 Subject: [PATCH] Bug fix for sed: /etc/privoxy/config: No such file or directory Added the bug fix for sed: /etc/privoxy/config: No such file or directory --- Dockerfile.armhf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 3dc300e..937901a 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -5,7 +5,7 @@ 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&&\ - file='/etc/privoxy/config' && \ + file='/etc/privoxy/config.new' && \ 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 +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"]