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