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
18 changes: 11 additions & 7 deletions .config/gitpod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# builder #
###################
# First stage: Install build-time dependencies
FROM ubuntu:noble as builder
# renovate: datasource=docker depName=ubuntu
FROM ubuntu:oracular-20241120 AS builder

# hadolint ignore=DL3002
USER root
Expand Down Expand Up @@ -34,12 +35,13 @@ RUN PYTHON_VERSION=$(cut -d '.' -f 1,2 /tmp/.python-version) \
sudo \
tree \
vim \
wget
wget \
&& rm -rf /var/lib/apt/lists/*

############################
# docker-installer #
############################
FROM builder as docker-installer
FROM builder AS docker-installer

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand All @@ -48,12 +50,13 @@ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \
&& apt-get update \
&& apt-get install -y --no-install-recommends docker-ce docker-ce-cli containerd.io
&& apt-get install -y --no-install-recommends containerd.io docker-ce docker-ce-cli \
&& rm -rf /var/lib/apt/lists/*

###########################
# npm-installer #
###########################
FROM docker-installer as npm-installer
FROM docker-installer AS npm-installer

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand All @@ -72,6 +75,7 @@ ARG MARKDOWN_TABLE_FORMATTER_VERSION=1.6.1
# hadolint ignore=DL3008
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/* \
&& npm install -g "npm@${NPM_VERSION}" \
&& npm install -g \
"ungit@${UNGIT_VERSION}" \
Expand All @@ -81,14 +85,14 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
###########################
# cleanup #
###########################
FROM npm-installer as cleanup
FROM npm-installer AS cleanup

RUN apt-get clean && rm -rf /var/lib/apt/lists/* tmp/*

###########################
# gitpod-user #
###########################
FROM cleanup as gitpod-user
FROM cleanup AS gitpod-user

# UID must be 33333.
RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash -p gitpod gitpod
Expand Down
2 changes: 1 addition & 1 deletion .config/make/python.mak
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python default launcher
python_launcher ?= python3.12
python_launcher ?= python3.13
python_requirements_dev_file ?= .config/python/dev/requirements.txt

UV = $(shell command -v uv 2> /dev/null)
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/python:1-3.12-bullseye
FROM mcr.microsoft.com/devcontainers/python:1-3.13-bullseye

# renovate: datasource=npm depName=markdown-table-formatter
ARG NPM_MARKDOWN_TABLE_FORMATTER_VERSION=1.6.1
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12.10
3.13.3
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.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 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.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-quick
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FROM $MEGALINTER_BASE_IMAGE as base
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY pyproject.toml .
COPY --from=uv /uv /bin/uv
Expand Down
4 changes: 2 additions & 2 deletions flavors/c_cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/ci_light/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ FROM trufflesecurity/trufflehog:${REPOSITORY_TRUFFLEHOG_VERSION} AS trufflehog
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -56,7 +56,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ FROM alpine/terragrunt:${TERRAFORM_TERRAGRUNT_VERSION} AS terragrunt
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -93,7 +93,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/formatters/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ FROM alpine/terragrunt:${TERRAFORM_TERRAGRUNT_VERSION} AS terragrunt
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -47,7 +47,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -85,7 +85,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FROM lycheeverse/lychee:${SPELL_LYCHEE_VERSION} AS lychee
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
4 changes: 2 additions & 2 deletions flavors/security/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ FROM alpine/terragrunt:${TERRAFORM_TERRAGRUNT_VERSION} AS terragrunt
# Build wheel for megalinter python package
##################
FROM ghcr.io/astral-sh/uv:0.6.13 AS uv
FROM python:3.12.10-alpine3.21 AS build-ml-core
FROM python:3.13.3-alpine3.21 AS build-ml-core
WORKDIR /
COPY --from=uv /uv /uvx /bin/
# Install dependencies
Expand All @@ -73,7 +73,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
##################
# Get base image #
##################
FROM python:3.12.10-alpine3.21
FROM python:3.13.3-alpine3.21

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down
Loading