From c1fb183cc3dcb8587ddd4422c30884e275fa0102 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 4 Jan 2024 10:17:11 +0100 Subject: [PATCH] Update base image to use Python 3.12.1 & Alpine 3.19 --- Dockerfile | 6 +++--- build.yaml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5170cffe..debc55be6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,13 +79,13 @@ RUN apk add --no-cache \ && mkdir build \ && cd build \ && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local \ - -DPYTHON_LIBRARY="/usr/local/lib/libpython3.11.so" \ - -DPYTHON_INCLUDE_DIR="/usr/local/include/python3.11" \ + -DPYTHON_LIBRARY="/usr/local/lib/libpython3.12.so" \ + -DPYTHON_INCLUDE_DIR="/usr/local/include/python3.12" \ -DHAVE_LINUX_API=1 \ .. \ && make -j"$(nproc)" \ && make install \ - && echo "cec" > "/usr/local/lib/python3.11/site-packages/cec.pth" \ + && echo "cec" > "/usr/local/lib/python3.12/site-packages/cec.pth" \ && apk del .build-dependencies \ && rm -rf \ /usr/src/libcec \ diff --git a/build.yaml b/build.yaml index a313e9a23..5c2eec186 100644 --- a/build.yaml +++ b/build.yaml @@ -1,10 +1,10 @@ image: ghcr.io/home-assistant/{arch}-homeassistant-base build_from: - aarch64: ghcr.io/home-assistant/aarch64-base-python:3.11-alpine3.18 - armhf: ghcr.io/home-assistant/armhf-base-python:3.11-alpine3.18 - armv7: ghcr.io/home-assistant/armv7-base-python:3.11-alpine3.18 - amd64: ghcr.io/home-assistant/amd64-base-python:3.11-alpine3.18 - i386: ghcr.io/home-assistant/i386-base-python:3.11-alpine3.18 + aarch64: ghcr.io/home-assistant/aarch64-base-python:3.12-alpine3.19 + armhf: ghcr.io/home-assistant/armhf-base-python:3.12-alpine3.19 + armv7: ghcr.io/home-assistant/armv7-base-python:3.12-alpine3.19 + amd64: ghcr.io/home-assistant/amd64-base-python:3.12-alpine3.19 + i386: ghcr.io/home-assistant/i386-base-python:3.12-alpine3.19 codenotary: signer: notary@home-assistant.io base_image: notary@home-assistant.io