Files
i2p-docker-proxy/contained/Dockerfile
LoveIsGrief 4dc8f22c29 docker: Update to the use of Python 3.9
Getting with the times

#4 - Investigate extending pr0xy to use SAM
2020-12-13 00:09:17 +01:00

30 lines
560 B
Docker

FROM python:3.9-alpine
RUN apk add --no-cache \
bash \
bind-tools \
curl \
dumb-init \
iptables \
git \
netcat-openbsd \
ulogd \
tcpdump \
wget
COPY requirements.txt /tmp/
RUN pip3 install -r /tmp/requirements.txt
COPY pr0cks /opt/pr0cks
COPY bin/ /opt/bin
# https://it-offshore.co.uk/linux/alpine-linux/55-alpine-linux-lxc-guest-iptables-logging
RUN sed -i -e "s/#stack=log1/stack=log1/g" /etc/ulogd.conf
ENV I2PD_IP="172.16.200.10"
ENV I2PD_PORT=4444
ENV LOCAL_PROXY_PORT=10080
ENTRYPOINT ["dumb-init"]
CMD ["/bin/bash" , "/opt/bin/exec.sh"]