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 && \