FROM docker.io/almalinux/9-init:latest COPY tor.repo /etc/yum.repos.d/tor.repo RUN dnf update -y \ && dnf install -y epel-release \ && dnf update -y \ && dnf install -y tor privoxy \ && systemctl enable tor \ && systemctl enable privoxy \ && echo "forward-socks5 / 127.0.0.1:9050 ." >> /etc/privoxy/config \ && dnf clean all -y \ && rm -fr /var/cache/* /tmp/*