1
0
mirror of https://github.com/Tecnativa/docker-socket-proxy synced 2024-12-22 14:48:08 +00:00

Add python3 in image

This commit is contained in:
João Marques 2020-12-02 14:36:41 +00:00
parent 3cf4ee6d66
commit 1f4bd857c4

View File

@ -29,6 +29,12 @@ ENV ALLOW_RESTARTS=0 \
VOLUMES=0 VOLUMES=0
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg 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
# Metadata # Metadata
ARG VCS_REF ARG VCS_REF
ARG BUILD_DATE ARG BUILD_DATE