add certificates to Dockerfile

This commit is contained in:
Alexander Bersenev
2020-06-17 15:45:47 +05:00
parent 6560a6c1d2
commit 6076db9f8c

View File

@@ -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 && rm -rf /var/lib/apt/lists/*
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 setcap cap_net_bind_service=+ep /usr/bin/python3.8
RUN useradd tgproxy -u 10000