Merge pull request #738 from PeterDaveHello/UpdateDockerfile

Update Dockerfile Python base image to mitigate some security issues
This commit is contained in:
Piero Toffanin 2025-01-31 00:16:58 -05:00 committed by GitHub
commit 21357a83a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM python:3.11.9-slim-bullseye AS builder
FROM python:3.11.11-slim-bullseye AS builder
WORKDIR /app
@ -20,7 +20,7 @@ RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_lo
&& ./venv/bin/pip install . \
&& ./venv/bin/pip cache purge
FROM python:3.11.9-slim-bullseye
FROM python:3.11.11-slim-bullseye
ARG with_models=false
ARG models=""

View file

@ -1,4 +1,4 @@
FROM arm64v8/python:3.11.9-slim-bullseye as builder
FROM arm64v8/python:3.11.11-slim-bullseye as builder
WORKDIR /app
@ -20,7 +20,7 @@ RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_lo
&& ./venv/bin/pip install . \
&& ./venv/bin/pip cache purge
FROM arm64v8/python:3.11.9-slim-bullseye
FROM arm64v8/python:3.11.11-slim-bullseye
ARG with_models=false
ARG models=""