From 1fc51c1a252f8ddca4e13c5e1b19fcd9b27a8cfc Mon Sep 17 00:00:00 2001 From: Leonhard Nobach Date: Tue, 30 Jun 2020 19:05:12 +0200 Subject: [PATCH] Switched to Python 3.7 --- src/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index 5178874..1e432a2 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -8,10 +8,10 @@ EXPOSE 443 # Do this apt/pip stuff all in one RUN command to avoid creating large # intermediate layers on non-squashable docker installs RUN apt update && \ - apt install -y python python-dev libffi6 libffi-dev libssl-dev curl build-essential procps && \ - curl -L 'https://bootstrap.pypa.io/get-pip.py' | python && \ + apt install -y python3 python3-dev libffi6 libffi-dev libssl-dev curl build-essential procps && \ + curl -L 'https://bootstrap.pypa.io/get-pip.py' | python3 && \ pip install -U cffi certbot && \ - apt remove --purge -y python-dev build-essential libffi-dev libssl-dev curl && \ + apt remove --purge -y python3-dev build-essential libffi-dev libssl-dev curl && \ apt-get autoremove -y && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*