summaryrefslogtreecommitdiffstats
path: root/docker-files
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2024-03-04 11:05:21 +0100
committernicolargo <nicolas@nicolargo.com>2024-03-04 11:05:21 +0100
commita71f2b63672206d3f524bae8002677ce10aebacc (patch)
tree91e162a1eec3f5aa9404e897a46b84ada31a120a /docker-files
parent280d76c6ddf9a8430a87801706982363c5ded47c (diff)
Display the pip version during the build
Diffstat (limited to 'docker-files')
-rw-r--r--docker-files/alpine.Dockerfile2
-rw-r--r--docker-files/ubuntu.Dockerfile2
2 files changed, 4 insertions, 0 deletions
diff --git a/docker-files/alpine.Dockerfile b/docker-files/alpine.Dockerfile
index a7624b4b..3fe9b19d 100644
--- a/docker-files/alpine.Dockerfile
+++ b/docker-files/alpine.Dockerfile
@@ -52,6 +52,8 @@ RUN apk add --no-cache \
libffi-dev \
openssl-dev
+RUN python${PYTHON_VERSION} -m pip --version
+
RUN python${PYTHON_VERSION} -m venv --without-pip venv
COPY requirements.txt docker-requirements.txt webui-requirements.txt optional-requirements.txt ./
diff --git a/docker-files/ubuntu.Dockerfile b/docker-files/ubuntu.Dockerfile
index be5bc09d..6fd559e3 100644
--- a/docker-files/ubuntu.Dockerfile
+++ b/docker-files/ubuntu.Dockerfile
@@ -49,6 +49,8 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
+RUN python${PYTHON_VERSION} -m pip --version
+
RUN python${PYTHON_VERSION} -m venv --without-pip venv
COPY requirements.txt docker-requirements.txt webui-requirements.txt optional-requirements.txt ./