Skip to content

Commit

Permalink
chore: update base image in Dockerfile (#29)
Browse files Browse the repository at this point in the history
* chore: update base image from python:3.10-slim-bullseye to python:3.12-slim-bookworm

Signed-off-by: Stefan Dej <[email protected]>

* chore: add libffi-dev to dependencies

Signed-off-by: Stefan Dej <[email protected]>

---------

Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou authored Jun 12, 2024
1 parent ececf2b commit 1e0520c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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
Expand Down Expand 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 \
Expand Down

0 comments on commit 1e0520c

Please sign in to comment.