bitb0x/roles/apps/templates/tor/Containerfile.j2
2024-02-29 07:04:32 -06:00

19 lines
375 B
Django/Jinja

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/*