From eff60baa507d7271ba5b51c66b4a866f177add37 Mon Sep 17 00:00:00 2001 From: acaranta Date: Sat, 19 Nov 2022 21:10:30 +0100 Subject: [PATCH] Upgraded to focal and python3 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01fa673..2a424b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM ubuntu:18.04 AS buildstage +FROM ubuntu:20.04 AS buildstage MAINTAINER arthur@caranta.com ENV DEBIAN_FRONTEND noninteractive ENV INITRD No RUN apt-get update -y -RUN apt-get install --force-yes -y haproxy inotify-tools python-pip curl lua-socket lua-json lua-http rsync pcregrep -RUN pip install envtpl supervisor supervisor-logging +RUN apt-get install --force-yes -y haproxy inotify-tools python3-pip curl lua-socket lua-json lua-http rsync pcregrep +RUN pip3 install envtpl supervisor supervisor-logging #Fetch and build haproxy from github, compile it with prometheus exporter RUN cd /tmp && \