crossplane / crossplane/function-template-python
Inconsistent base image in multistage Dockerfile
- Vorherrschende Sprache
- Python
- Sterne
- 21
- Forks
- 13
- Ø Merge
- 3 Std. 1 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
### What happened?
From the Dockerfile comment:
```
# It's important that this is Debian 12 to match the distroless image.
FROM debian:13-slim AS build
...
FROM gcr.io/distroless/python3-debian12 AS image
```
It looks like renovate upgraded only the first image, leaving both the comment and the second image hanging in Debian 12.
### How can we reproduce it?
n/a
### What environment did it happen in?
Function version: main
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Open the Dockerfile and compare the Debian version in the build-stage FROM line with the distroless Python image and the accompanying comment. Align the base-image versions so they consistently target Debian 12, then verify the Docker build completes successfully.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- debian, docker, python
- Bereich
- build-system, devops
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Aktiv
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 82/100