crossplane / crossplane/function-template-python

Inconsistent base image in multistage Dockerfile

Aperta Adatta ai principianti
#167 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
21
Fork
13
Merge medio
3h 1m
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
debian, docker, python
Ambito
build-system, devops
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Attiva
Chiarezza
Specificata chiaramente
Idoneità per principianti
82/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.