mirror of
https://github.com/Tecnativa/docker-socket-proxy
synced 2024-12-21 14:18:07 +00:00
Fix python path
This commit is contained in:
parent
d9d5b44235
commit
47f8f46418
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user