From 6ea3d10c3d4075d5a07b411f7a16f648a4c2fcb4 Mon Sep 17 00:00:00 2001 From: Ihor Solodrai Date: Tue, 17 Jun 2025 11:27:21 -0700 Subject: [PATCH 1/2] Dockerfile: update maintainer Signed-off-by: Ihor Solodrai --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bee5f8c..1b2ef64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR # The runtime image, used to just run the code provided its virtual environment FROM python:3.10-slim-buster as runtime -LABEL maintainer="Nikolay Yurin " +LABEL maintainer="Ihor Solodrai " RUN apt update && \ apt install -y git && \ From c3a26767b1afbbf9b511af521a4196d3fd03f6bb Mon Sep 17 00:00:00 2001 From: Ihor Solodrai Date: Tue, 17 Jun 2025 11:23:25 -0700 Subject: [PATCH 2/2] Dockerfile: fix the image build poetry.lock was removed from version control [1], but the Dockerfile was not updated. Also change the base image to python:3.9-bullseye Debian buster has been discontinued [2], so bump to bullseye. And python 3.9 is the minimal requried version at this time. [1] https://github.com/kernel-patches/kernel-patches-daemon/commit/ff326f3be8f014557a82ca98114fa336046bd5ee [2] https://www.debian.org/releases/buster/ Signed-off-by: Ihor Solodrai --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b2ef64..53992bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-buster as builder +FROM python:3.9-bullseye as builder RUN pip install poetry @@ -9,13 +9,13 @@ ENV POETRY_NO_INTERACTION=1 \ WORKDIR /app -COPY pyproject.toml poetry.lock ./ +COPY pyproject.toml /app/pyproject.toml RUN touch README.md RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR # The runtime image, used to just run the code provided its virtual environment -FROM python:3.10-slim-buster as runtime +FROM python:3.9-bullseye as runtime LABEL maintainer="Ihor Solodrai " RUN apt update && \