From c5cffda99d6dcbce24f1d1e0850aaf93ecb3e8da Mon Sep 17 00:00:00 2001 From: Fabian Peter Hammerle Date: Wed, 1 Nov 2023 11:05:43 +0100 Subject: [PATCH] container image: upgrade alpine base image from v3.13.1 to v3.18.4 & pipenv from v2021.5.29 to v2023.6.18 --- CHANGELOG.md | 1 + Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f60bf18..6bc1d3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 (bluepy-helper replaced with bleak) - replaced [paho-mqtt](https://github.com/eclipse/paho.mqtt.python) with its async wrapper [aiomqtt](https://github.com/sbtinstruments/aiomqtt) +- container image: upgraded alpine base image from v3.13.1 to v3.18.4 ### Removed - command-line option `--mqtt-enable-tls` (TLS now enabled by default) diff --git a/Dockerfile b/Dockerfile index 37c3002..d9e5c64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # sync with https://github.com/fphammerle/systemctl-mqtt/blob/master/Dockerfile # not using python:3.*-alpine cause glib-dev package depends on python3 -# https://pkgs.alpinelinux.org/package/v3.11/main/aarch64/glib-dev -ARG BASE_IMAGE=docker.io/alpine:3.13.1 +# https://pkgs.alpinelinux.org/package/v3.18/main/aarch64/glib-dev +ARG BASE_IMAGE=docker.io/alpine:3.18.4 ARG SOURCE_DIR_PATH=/switchbot-mqtt @@ -22,7 +22,7 @@ RUN apk add --no-cache \ && adduser -S build USER build -RUN pip3 install --user --no-cache-dir pipenv==2021.5.29 +RUN pip3 install --user --no-cache-dir pipenv==2023.6.18 ARG SOURCE_DIR_PATH COPY --chown=build:nobody Pipfile Pipfile.lock $SOURCE_DIR_PATH/