From 6479a6c38d78706d4315d39199d5408ef6119e69 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Wed, 23 Oct 2024 15:16:10 -0700 Subject: [PATCH] Revert "Set the version by reading directly the pyproject file in local (dev and Docker) - Related to #2956" This reverts commit 604d805828796a40ed29a6244f67b80684ba8d07. --- docker-files/alpine.Dockerfile | 2 +- docker-files/ubuntu.Dockerfile | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docker-files/alpine.Dockerfile b/docker-files/alpine.Dockerfile index f5c9a9ae..55370869 100644 --- a/docker-files/alpine.Dockerfile +++ b/docker-files/alpine.Dockerfile @@ -106,7 +106,7 @@ COPY ./glances/. /app/glances/ # Copy pyproject file in order to have the version # Note: Glances is not installed as a Pypi pkg in Docker -COPY ./pyproject.toml /app +COPY pyproject.toml /app # Copy binary and update PATH COPY docker-bin.sh /usr/local/bin/glances diff --git a/docker-files/ubuntu.Dockerfile b/docker-files/ubuntu.Dockerfile index 60a80045..d81d4a4d 100644 --- a/docker-files/ubuntu.Dockerfile +++ b/docker-files/ubuntu.Dockerfile @@ -87,10 +87,7 @@ ARG PYTHON_VERSION # Copy Glances source code and config file COPY ./docker-compose/glances.conf /etc/glances/glances.conf COPY ./glances/. /app/glances/ - -# Copy pyproject file in order to have the version -# Note: Glances is not installed as a Pypi pkg in Docker -COPY ./pyproject.toml /app +COPY pyproject.toml /app # Copy binary and update PATH COPY docker-bin.sh /usr/local/bin/glances