crossplane / crossplane/function-template-python

Inconsistent base image in multistage Dockerfile

Đang mở Phù hợp với người mới
#167 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
21
Fork
13
Merge trung bình
3 giờ 1 phút
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
debian, docker, python
Lĩnh vực
build-system, devops
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
82/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.