crossplane / crossplane/function-template-python

Inconsistent base image in multistage Dockerfile

Abierto Apto para principiantes
#167 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
21
Forks
13
Merge medio
3 h 1 min
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
debian, docker, python
Área
build-system, devops
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Activo
Claridad
Bien especificado
Aptitud para principiantes
82/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.