From 3b4f239cc15403bfb14f94f5b5b9212022a0e930 Mon Sep 17 00:00:00 2001 From: AlisonTNT Date: Tue, 29 Sep 2020 21:29:49 +0800 Subject: [PATCH] Add Pysocks in Dockerfile (#239) It's necessary if using upstream SOCKS5 proxy. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8aa424c..5928532 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:20.04 -RUN apt-get update && apt-get install --no-install-recommends -y python3 python3-uvloop python3-cryptography libcap2-bin ca-certificates && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install --no-install-recommends -y python3 python3-uvloop python3-cryptography python3-socks libcap2-bin ca-certificates && rm -rf /var/lib/apt/lists/* RUN setcap cap_net_bind_service=+ep /usr/bin/python3.8 RUN useradd tgproxy -u 10000