Commit bd93cf44 authored by nimrod's avatar nimrod
Browse files

docker image: Nicer handling of the Python env.

parent 43d2798b
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ RUN echo '@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/a
        skopeo \
        trivy@testing \
    && \
    python3 -m pip install --break-system-packages --no-cache-dir --progress-bar=off deepclean && \
    rm /usr/lib/python*/EXTERNALLY-MANAGED && \
    python3 -m pip install --no-cache-dir --progress-bar=off deepclean && \
    rm -rf /root/.cache /tmp/* /var/tmp/*
COPY --chown=root:root compose-health-check /usr/local/bin/