From 446682521b9a5cc0eb7297fc05a61758db2df8b0 Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Mon, 9 May 2022 00:05:24 +0500 Subject: [PATCH] use newer Ubuntu and Python in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5928532..a908d14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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