summaryrefslogtreecommitdiffstats
path: root/docker-files
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2024-01-13 09:46:29 +0100
committernicolargo <nicolas@nicolargo.com>2024-01-13 09:46:29 +0100
commit5cc18adfb4e4b99a39cccfafdb17213dcf1c45e2 (patch)
tree0ec2a7e17877e0026d516bf49778706c21c3eed1 /docker-files
parent07a81c50ff6ba69782fcc4fd674330d186af5179 (diff)
Migration to Alpine 3.19 and update documentation regarding default glances.conf file in Docker images
Diffstat (limited to 'docker-files')
-rw-r--r--docker-files/alpine.Dockerfile5
-rw-r--r--docker-files/ubuntu.Dockerfile2
2 files changed, 4 insertions, 3 deletions
diff --git a/docker-files/alpine.Dockerfile b/docker-files/alpine.Dockerfile
index dd42df59..a7624b4b 100644
--- a/docker-files/alpine.Dockerfile
+++ b/docker-files/alpine.Dockerfile
@@ -9,7 +9,8 @@
# WARNING: the Alpine image version and Python version should be set.
# Alpine 3.18 tag is a link to the latest 3.18.x version.
# Be aware that if you change the Alpine version, you may have to change the Python version.
-ARG IMAGE_VERSION=3.18
+
+ARG IMAGE_VERSION=3.19
ARG PYTHON_VERSION=3.11
##############################################################################
@@ -84,7 +85,7 @@ RUN python${PYTHON_VERSION} -m pip install --target="/venv/lib/python${PYTHON_VE
FROM base as release
# Copy source code and config file
-COPY ./docker-compose/glances.conf /etc/glances.conf
+COPY ./docker-compose/glances.conf /etc/glances/glances.conf
COPY /glances /app/glances
# Copy binary and update PATH
diff --git a/docker-files/ubuntu.Dockerfile b/docker-files/ubuntu.Dockerfile
index f4ef7c29..be5bc09d 100644
--- a/docker-files/ubuntu.Dockerfile
+++ b/docker-files/ubuntu.Dockerfile
@@ -77,7 +77,7 @@ RUN python${PYTHON_VERSION} -m pip install --target="/venv/lib/python${PYTHON_VE
FROM base as release
# Copy Glances source code and config file
-COPY ./docker-compose/glances.conf /etc/glances.conf
+COPY ./docker-compose/glances.conf /etc/glances/glances.conf
COPY /glances /app/glances
# Copy binary and update PATH