Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/scaffolder-backend/scripts/Cookiecutter.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18
FROM alpine:3.23
Copy link
Copy Markdown

@augmentcode augmentcode Bot Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alpine:3.23 is a floating minor tag, so the underlying image can change as 3.23.x patch releases roll forward and make generated builds less reproducible. If deterministic builds matter here, consider pinning to a patch tag (or image digest) instead.

Severity: low

Fix This in Augment

πŸ€– Was this useful? React with πŸ‘ or πŸ‘Ž, or πŸš€ if it prevented an incident/outage.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correctness: Alpine dropped Python 2 packages (python, python-dev, py-pip) well before 3.23 β€” the apk add step will fail with 'package not found', breaking the image build entirely; replace them with python3, python3-dev, and py3-pip.

πŸ€– AI Agent Prompt for Cursor/Windsurf

πŸ“‹ Copy this prompt to your AI coding assistant (Cursor, Windsurf, etc.) to get help fixing this issue

In plugins/scaffolder-backend/scripts/Cookiecutter.dockerfile, the base image was bumped to alpine:3.23 but the RUN command still references Python 2 packages (python, python-dev, py-pip) which no longer exist in Alpine 3.23. Replace 'python' with 'python3', 'python-dev' with 'python3-dev', 'py-pip' with 'py3-pip', and update the 'apk del' line accordingly. Also update any 'pip install' call to 'pip3 install' to ensure the correct Python 3 pip is used.


RUN apk add --update \
git \
Expand Down
Loading