use newer Ubuntu and Python in Dockerfile

This commit is contained in:
Alexander Bersenev
2022-05-09 00:05:24 +05:00
parent b26873176a
commit 446682521b

View File

@@ -1,7 +1,7 @@
FROM ubuntu:20.04
FROM ubuntu:22.04
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 setcap cap_net_bind_service=+ep /usr/bin/python3.10
RUN useradd tgproxy -u 10000