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:
parent
ececf2b26f
commit
1e0520c99a
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue