crossplane / crossplane/function-template-python

Inconsistent base image in multistage Dockerfile

Ouverte Adaptée aux débutants
#167 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
21
Forks
13
Merge moyen
3 h 1 min
PR mergées (30 j)
1

Description

### 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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
debian, docker, python
Domaine
build-system, devops
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
Active
Clarté
Clairement spécifiée
Accessibilité débutants
82/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.