From 28c89c8d68c1a8e0310777db124a333b71cbfe0f Mon Sep 17 00:00:00 2001 From: George Alton Date: Thu, 23 Jun 2022 00:02:19 +0100 Subject: [PATCH] fake the version number in docker (#44) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b6ffcab..d207aca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ENV PYTHONUNBUFFERED 1 ENV PIP_DISABLE_PIP_VERSION_CHECK 1 COPY . . - -RUN pip install --upgrade --no-cache-dir --quiet --no-input . +ARG PSEUDO_VERSION=1 +RUN SETUPTOOLS_SCM_PRETEND_VERSION=${PSEUDO_VERSION} pip install --upgrade --no-cache-dir --quiet --no-input . RUN chmod +x /scripts/entrypoint.sh ENTRYPOINT ["/scripts/entrypoint.sh"]