Skip to content

Commit

Permalink
container image: upgrade alpine base image from v3.13.1 to v3.18.4 & …
Browse files Browse the repository at this point in the history
…pipenv from v2021.5.29 to v2023.6.18
  • Loading branch information
fphammerle committed Nov 4, 2023
1 parent 1bf4899 commit c5cffda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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


Expand All @@ -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/
Expand Down

0 comments on commit c5cffda

Please sign in to comment.