Upgrade base image to Ubuntu 24.04 and Python version

This commit is contained in:
Rustam @SecondFry Gubaydullin
2025-11-13 07:23:20 +03:00
committed by Alexander Bersenev
parent bc841cff48
commit 8bb885ada5

View File

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