From 47f8f464186b97ec4e7d674d94fe56e03f247fca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marques?= Date: Thu, 3 Dec 2020 15:31:46 +0000 Subject: [PATCH] Fix python path --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6f82a54..cd37ef7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,9 +31,8 @@ COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg # Install python/pip ENV PYTHONUNBUFFERED=1 -RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python -RUN python -m ensurepip -RUN python -m pip install --no-cache --upgrade pip setuptools +RUN apk add --update --no-cache python3 && ln -sf $(which python3) /usr/local/bin/python +RUN python -m ensurepip && python -m pip install --no-cache --upgrade pip setuptools # Metadata ARG VCS_REF