mirror of
https://github.com/PegaProx/project-pegaprox.git
synced 2026-04-26 02:25:52 +03:00
[GH-ISSUE #34] Dockerfile uses unpinned latest tag and unspecified Python version #27
Labels
No labels
Approved
Q2-3 2026 Development
bug
documentation
enhancement
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/project-pegaprox-PegaProx#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cinpol on GitHub (Feb 2, 2026).
Original GitHub issue: https://github.com/PegaProx/project-pegaprox/issues/34
The current Dockerfile has two best practice violations that could lead to unpredictable builds and potential breakage:
alpine:latestinstead of a pinned versionUnpinned Alpine version
Using
latestcreates several issues:Unspecified Python version
While the project requires Python 3.8+, the Dockerfile installs whatever python3 package comes with the Alpine version, which:
Solution
Pin both the Alpine version and ensure a specific Python version:
FROM alpine:3.19(or any other tag that support Python 3.8+)Or use a Python-specific base image for even more clarity:
FROM python:3.11-alpine3.19Happy to submit a PR if needed!
@mkellermann97 commented on GitHub (Feb 3, 2026):
Hi @cinpol ,
Thank you for noticing.
Feel free to submit here a PR.
Regards,
Marcus