From 77f8478e81ab2e045af251df0ae7ec1b30e3fe4e Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Tue, 11 Jun 2024 10:28:47 +0200 Subject: [PATCH 1/2] chore: update base image from python:3.10-slim-bullseye to python:3.12-slim-bookworm Signed-off-by: Stefan Dej --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bf3513..5fa23cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim-bullseye AS builder +FROM python:3.12-slim-bookworm AS builder RUN apt-get update && apt-get install -y \ --no-install-recommends \ @@ -69,7 +69,7 @@ RUN git clone --depth 1 https://github.com/jacksonliam/mjpg-streamer \ ## --------- This is the runner image -FROM python:3.10-slim-bullseye AS runner +FROM python:3.12-slim-bookworm AS runner RUN apt-get update && apt-get install -y \ --no-install-recommends \ --no-install-suggests \ From 4cf2722caf6fb7b20998aac580919fa1a4db345f Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Wed, 12 Jun 2024 11:13:08 +0200 Subject: [PATCH 2/2] chore: add libffi-dev to dependencies Signed-off-by: Stefan Dej --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 5fa23cc..b5c86c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ RUN apt-get update && apt-get install -y \ gcc-avr \ libcurl4-openssl-dev \ libssl-dev \ + libffi-dev \ python3-dev \ python3-libgpiod \ ### clean up