Add obfs4proxy package into the image, cc #34

This commit is contained in:
Peter Dave Hello 2022-09-22 13:25:43 +08:00
parent 257ea91513
commit 02f003e9a8

View file

@ -5,8 +5,9 @@ LABEL name="tor-socks-proxy"
LABEL version="latest"
RUN echo '@edge https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories && \
echo '@edge https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \
apk -U upgrade && \
apk -v add tor@edge curl && \
apk -v add tor@edge obfs4proxy@edge curl && \
chmod 700 /var/lib/tor && \
rm -rf /var/cache/apk/* && \
tor --version