Skip to content

Commit 1497bac

Browse files
authored
don't pin debian version (#3829)
Use the debian version selected by the python packagers
1 parent 047b8e2 commit 1497bac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scanner/templates/python-docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:{{ .pyVersion }}-bookworm AS builder
1+
FROM python:{{ .pyVersion }} AS builder
22

33
ENV PYTHONUNBUFFERED=1 \
44
PYTHONDONTWRITEBYTECODE=1
@@ -25,7 +25,7 @@ COPY requirements.txt ./
2525
RUN .venv/bin/pip install -r requirements.txt
2626
{{ end -}}
2727

28-
FROM python:{{ .pyVersion }}-slim-bookworm
28+
FROM python:{{ .pyVersion }}-slim
2929
WORKDIR /app
3030
COPY --from=builder /app/.venv .venv/
3131
COPY . .

0 commit comments

Comments
 (0)