Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ FROM alpine/terragrunt:${TERRAFORM_TERRAGRUNT_VERSION} AS terragrunt
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.9.4 AS uv
FROM python:3.13-alpine3.22 AS build-ml-core
FROM python:3.14-alpine3.22 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -104,7 +104,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.13-alpine3.22
FROM python:3.14-alpine3.22
Copy link

Choose a reason for hiding this comment

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

Bug: Unstable Python Version in Docker Image

Python 3.14 has not been officially released yet (scheduled for October 2026). The base image python:3.14-alpine3.22 either doesn't exist or points to an unstable pre-release version. This will cause Docker build failures or use of unstable/untested Python versions in production. The version should remain at 3.13 or use a stable released version.

Fix in Cursor Fix in Web


#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-custom-flavor
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM ghcr.io/astral-sh/uv:0.9.4 AS uv
##################
# Get base image #
##################
FROM python:3.13-alpine3.22
FROM python:3.14-alpine3.22

RUN apk -U --no-cache upgrade \
&& apk add --no-cache \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-quick
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ FROM $MEGALINTER_BASE_IMAGE as base
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.9.4 AS uv
FROM python:3.13-alpine3.22 AS build-ml-core
FROM python:3.14-alpine3.22 AS build-ml-core
WORKDIR /
COPY pyproject.toml .
COPY --from=uv /uv /bin/uv
Expand Down
Loading