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 <meteyou@gmail.com>

* chore: add libffi-dev to dependencies

Signed-off-by: Stefan Dej <meteyou@gmail.com>

---------

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2024-06-12 19:08:32 +02:00 committed by GitHub
parent ececf2b26f
commit 1e0520c99a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -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 \