Browse Source

container image: upgrade alpine base image from v3.13.1 to v3.18.4 & pipenv from v2021.5.29 to v2023.6.18

Fabian Peter Hammerle 6 months ago
parent
commit
c5cffda99d
2 changed files with 4 additions and 3 deletions
  1. 1 0
      CHANGELOG.md
  2. 3 3
      Dockerfile

+ 1 - 0
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)

+ 3 - 3
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/