crossplane / crossplane/function-template-python

Inconsistent base image in multistage Dockerfile

Open Beginner friendly
#167 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
21
Forks
13
Avg merge
3h 1m
Merged PRs (30d)
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

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, docker, python
Domain
build-system, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.