From 7c93d81c504e3b746135b33907d434e84a1b3036 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Thu, 31 Aug 2023 11:59:28 +0530 Subject: [PATCH] chore(deps): Update certbot from v0.40 to v2.6 (#26809) --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 651a26bf9a..6b63a3bf0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,14 +13,17 @@ ENV LC_ALL C.UTF-8 RUN apt-get update \ && apt-get upgrade --yes \ && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes \ - supervisor curl cron nfs-common certbot nginx nginx-extras gnupg wget netcat openssh-client \ + supervisor curl cron nfs-common nginx nginx-extras gnupg wget netcat openssh-client \ software-properties-common gettext \ - python3-pip python3-requests python-setuptools git ca-certificates-java \ + python3-pip python3-venv python3-requests python-setuptools git ca-certificates-java \ && wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - \ && echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list \ && apt-get update && apt-get install --no-install-recommends --yes temurin-17-jdk \ && pip install --no-cache-dir git+https://github.com/coderanger/supervisor-stdout@973ba19967cdaf46d9c1634d1675fc65b9574f6e \ - && apt-get remove --yes git python3-pip + && python3 -m venv --prompt certbot /opt/certbot/venv \ + && /opt/certbot/venv/bin/pip install certbot \ + && ln -s /opt/certbot/venv/bin/certbot /usr/local/bin \ + && apt-get remove --yes git python3-pip python3-venv # Install MongoDB v5.0.14, Redis, NodeJS - Service Layer, PostgreSQL v13 RUN curl --silent --show-error --location https://www.mongodb.org/static/pgp/server-5.0.asc | apt-key add - \