From 64e69ea0bd543d2ce23d320fae87bdc9f0d0c4fb Mon Sep 17 00:00:00 2001 From: Michael Oberdorf Date: Sun, 28 Dec 2025 18:40:22 +0100 Subject: [PATCH] maintain versions --- Dockerfile | 18 +++++++++--------- LICENSE | 2 +- README.md | 3 ++- src/app/modbus_client.py | 4 ++-- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 000f21a..a6cb30a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM alpine:3.21.0 AS base +FROM alpine:3.23.2 AS base RUN apk upgrade --available --no-cache --update \ && apk add --no-cache --update \ - python3=3.12.8-r1 \ - py3-pip=24.3.1-r0 \ + python3=3.12.12-r0 \ + py3-pip=25.1.1-r1 \ # Cleanup APK && rm -rf /var/cache/apk/* /tmp/* /var/tmp/* @@ -11,8 +11,8 @@ RUN apk upgrade --available --no-cache --update \ # Compiling python modules FROM base AS builder RUN apk add --no-cache --update \ - g++=14.2.0-r4 \ - python3-dev=3.12.8-r1 \ + g++=15.2.0-r2 \ + python3-dev=3.12.12-r0 \ && ln -s /usr/include/locale.h /usr/include/xlocale.h COPY --chown=root:root FloatToHex /FloatToHex @@ -26,14 +26,14 @@ RUN python3 setup.py install # Building the docker image with already compiled modules FROM base LABEL maintainer="Michael Oberdorf IT-Consulting " -LABEL site.local.program.version="1.0.16" +LABEL site.local.program.version="1.0.17" COPY --from=builder /usr/lib/python3.12/site-packages /usr/lib/python3.12/site-packages RUN apk add --no-cache --update \ - libstdc++=14.2.0-r4 \ - py3-wheel=0.43.0-r0 \ - py3-pandas=2.2.3-r0 + libstdc++=15.2.0-r2 \ + py3-wheel=0.46.1-r0 \ + py3-pandas=2.3.3-r0 COPY --chown=root:root /src / diff --git a/LICENSE b/LICENSE index 196fe55..04c0049 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020-2024 Michael Oberdorf IT-Consulting +Copyright (c) 2020-2025 Michael Oberdorf IT-Consulting Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 47fc04c..de5c18c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,8 @@ Container Registry: [DockerHub](https://hub.docker.com/r/oitc/modbus-client) # Supported tags and respective `Dockerfile` links -* [`latest`, `1.0.16`](https://github.com/cybcon/modbus-client/blob/v1.0.16/Dockerfile) +* [`latest`, `1.0.17`](https://github.com/cybcon/modbus-client/blob/v1.0.17/Dockerfile) +* [`1.0.16`](https://github.com/cybcon/modbus-client/blob/v1.0.16/Dockerfile) * [`1.0.15`](https://github.com/cybcon/modbus-client/blob/v1.0.15/Dockerfile) * [`1.0.14`](https://github.com/cybcon/modbus-client/blob/v1.0.14/Dockerfile) * [`1.0.13`](https://github.com/cybcon/modbus-client/blob/v1.0.13/Dockerfile) diff --git a/src/app/modbus_client.py b/src/app/modbus_client.py index c75ae6a..6398adb 100644 --- a/src/app/modbus_client.py +++ b/src/app/modbus_client.py @@ -5,7 +5,7 @@ # Author: Michael Oberdorf IT-Consulting # Datum: 2020-05-20 # Last modified by: Michael Oberdorf -# Last modified at: 2024-12-23 +# Last modified at: 2025-12-28 ############################################################################### """ import argparse @@ -17,7 +17,7 @@ import FloatToHex -VERSION = "1.0.16" +VERSION = "1.0.17" DEBUG = False """ ###############################################################################