From 1e0520c99af30f35f8f716d2716d2f5e68e7b0bb Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Wed, 12 Jun 2024 19:08:32 +0200 Subject: [PATCH] chore: update base image in Dockerfile (#29) * chore: update base image from python:3.10-slim-bullseye to python:3.12-slim-bookworm Signed-off-by: Stefan Dej * chore: add libffi-dev to dependencies Signed-off-by: Stefan Dej --------- Signed-off-by: Stefan Dej --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bf3513..b5c86c0 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 \ @@ -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 @@ -69,7 +70,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 \