tor-private-network/Dockerfile
2026-10-07 11:29:30 -06:00

8 lines
437 B
Docker

# Every container in this lab runs this image: Tor, plus tools to watch it.
FROM alpine:3.22
RUN apk add --no-cache tor tcpdump curl python3
# Disposable test credentials are image-owned, independent of host file modes.
COPY da-keys/ /lab/da-keys/
# Client tools use only Python's standard library and the Tor control port.
COPY bin/ /usr/local/bin/
RUN chmod +x /usr/local/bin/circuits /usr/local/bin/newcircuits /usr/local/bin/request