From 6560a6c1d2bc68524d634be688315f8d45b88566 Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Tue, 28 Apr 2020 16:20:33 +0500 Subject: [PATCH] use new ubuntu 20.04 as base image --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c84ecda..2085430 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,7 @@ -FROM python:3.8-slim-buster +FROM ubuntu:20.04 -RUN apt-get update && apt-get install --no-install-recommends -y libcap2-bin && rm -rf /var/lib/apt/lists/* -RUN setcap cap_net_bind_service=+ep /usr/local/bin/python3.8 - -RUN pip3 --no-cache-dir install cryptography uvloop +RUN apt-get update && apt-get install --no-install-recommends -y python3 python3-uvloop python3-cryptography libcap2-bin && rm -rf /var/lib/apt/lists/* +RUN setcap cap_net_bind_service=+ep /usr/bin/python3.8 RUN useradd tgproxy -u 10000