From 367e77c1d7eade2c8cc102412f4e93a7c9f4dcfe Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Mon, 6 Feb 2023 21:23:32 +0100 Subject: [PATCH] Upgrade python version (#2312) * Upgrade python version * cspell * [MegaLinter] Apply linters fixes * Upgrade dart & glibc versions Workaround for https://github.com/sgerrand/alpine-pkg-glibc/issues/185 * Update used by * Build * Do not try to upgrade dartanalyzer * checkov config --------- Co-authored-by: nvuillam --- .automation/build.py | 2 +- .github/linters/.checkov.yml | 1 + .github/linters/.cspell.json | 7 ++++++- CHANGELOG.md | 3 +++ Dockerfile | 6 +++--- flavors/ci_light/Dockerfile | 2 +- flavors/cupcake/Dockerfile | 2 +- flavors/documentation/Dockerfile | 2 +- flavors/dotnet/Dockerfile | 2 +- flavors/go/Dockerfile | 2 +- flavors/java/Dockerfile | 2 +- flavors/javascript/Dockerfile | 2 +- flavors/php/Dockerfile | 2 +- flavors/python/Dockerfile | 2 +- flavors/ruby/Dockerfile | 2 +- flavors/rust/Dockerfile | 2 +- flavors/salesforce/Dockerfile | 2 +- flavors/security/Dockerfile | 2 +- flavors/swift/Dockerfile | 2 +- flavors/terraform/Dockerfile | 2 +- linters/ansible_ansible_lint/Dockerfile | 2 +- linters/bash_shellcheck/Dockerfile | 2 +- linters/cloudformation_cfn_lint/Dockerfile | 2 +- linters/dockerfile_hadolint/Dockerfile | 2 +- linters/go_revive/Dockerfile | 2 +- linters/groovy_npm_groovy_lint/Dockerfile | 2 +- linters/java_checkstyle/Dockerfile | 2 +- linters/java_pmd/Dockerfile | 2 +- linters/javascript_es/Dockerfile | 2 +- linters/json_eslint_plugin_jsonc/Dockerfile | 2 +- linters/jsx_eslint/Dockerfile | 2 +- linters/kotlin_ktlint/Dockerfile | 2 +- linters/php_psalm/Dockerfile | 2 +- linters/python_bandit/Dockerfile | 2 +- linters/repository_checkov/Dockerfile | 2 +- linters/repository_devskim/Dockerfile | 2 +- linters/repository_dustilock/Dockerfile | 2 +- linters/repository_gitleaks/Dockerfile | 2 +- linters/repository_secretlint/Dockerfile | 2 +- linters/repository_semgrep/Dockerfile | 2 +- linters/repository_syft/Dockerfile | 2 +- linters/repository_trivy/Dockerfile | 2 +- linters/terraform_checkov/Dockerfile | 2 +- linters/terraform_terrascan/Dockerfile | 2 +- linters/terraform_tflint/Dockerfile | 2 +- linters/tsx_eslint/Dockerfile | 2 +- linters/typescript_es/Dockerfile | 2 +- megalinter/descriptors/dart.megalinter-descriptor.yml | 5 +++-- 48 files changed, 59 insertions(+), 49 deletions(-) diff --git a/.automation/build.py b/.automation/build.py index fd890731fdc..b8c930e5bf3 100644 --- a/.automation/build.py +++ b/.automation/build.py @@ -2292,7 +2292,7 @@ def finalize_doc_build(): [![Docker Pulls](https://img.shields.io/badge/docker%20pulls-4.0M-blue?color=%23FD80CD)](https://megalinter.github.io/flavors/) [![Downloads/week](https://img.shields.io/npm/dw/mega-linter-runner.svg?color=%23FD80CD)](https://npmjs.org/package/mega-linter-runner) [![GitHub stars](https://img.shields.io/github/stars/oxsecurity/megalinter?cacheSeconds=3600&color=%23FD80CD)](https://github.com/oxsecurity/megalinter/stargazers/) -[![Dependents](https://img.shields.io/static/v1?label=Used%20by&message=1690&color=%23FD80CD&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![Dependents](https://img.shields.io/static/v1?label=Used%20by&message=2011&color=%23FD80CD&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![GitHub contributors](https://img.shields.io/github/contributors/oxsecurity/megalinter.svg?color=%23FD80CD)](https://github.com/oxsecurity/megalinter/graphs/contributors/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square&color=%23FD80CD)](http://makeapullrequest.com)""", # noqa: E501 ) diff --git a/.github/linters/.checkov.yml b/.github/linters/.checkov.yml index 82398c46992..489fcf34b4b 100644 --- a/.github/linters/.checkov.yml +++ b/.github/linters/.checkov.yml @@ -6,3 +6,4 @@ skip-check: - CKV_DOCKER_3 - CKV_DOCKER_7 - CKV_GHA_2 + - CKV2_GHA_1 diff --git a/.github/linters/.cspell.json b/.github/linters/.cspell.json index f89cbf227eb..79ede17e59a 100644 --- a/.github/linters/.cspell.json +++ b/.github/linters/.cspell.json @@ -104,6 +104,7 @@ "DRMAA", "DTDs", "DUSTILOCK", + "Deneuve", "Dependabot", "Detekt", "Devcontainer", @@ -123,6 +124,7 @@ "Ekubernetes", "Emegalinter", "Envir", + "Etienne", "Excpt", "FATA", "FILEIO", @@ -190,6 +192,7 @@ "LINTR", "LOCALFOLDER", "LUACHECK", + "Laven", "Lfiles", "Libxml", "Lintr", @@ -522,6 +525,7 @@ "customrules", "cyclomatic", "dartanalyzer", + "davidjeddy", "debugent", "decamelize", "dedup", @@ -678,6 +682,7 @@ "goodcheck", "goodwithtech", "gosec", + "gotit", "govet", "gridftp", "grimmjo", @@ -778,7 +783,6 @@ "kxdddddddoc", "lacheck", "langserver", - "Laven", "leavevmode", "leveldb", "levn", @@ -995,6 +999,7 @@ "pipeverb", "pipfile", "pipvenv", + "pjungermann", "pkgs", "plone", "pluggable", diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a5039fa683..341fde65ae1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `oxsecurity/megalinter:beta` docker image +- Core + - Upgrade base docker image from python:3.10.4-alpine3.16 to python:3.11.1-alpine3.17 + - Linter versions upgrades - [golangci-lint](https://golangci-lint.run/) from 1.51.0 to **1.51.1** on 2023-02-06 - [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 6.21.0 to **6.22.0** on 2023-02-06 diff --git a/Dockerfile b/Dockerfile index 1c922e63f3e..c629e16332a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ FROM checkmarx/kics:alpine as kics # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## @@ -42,7 +42,7 @@ ARG BICEP_EXE='bicep' ARG BICEP_URI='https://github.com/Azure/bicep/releases/latest/download/bicep-linux-musl-x64' ARG BICEP_DIR='/usr/local/bin' ARG DART_VERSION='2.8.4' -ARG GLIBC_VERSION='2.31-r0' +ARG GLIBC_VERSION='2.34-r0' ARG PMD_VERSION=6.48.0 ARG PSSA_VERSION='latest' #ARG__END @@ -410,7 +410,7 @@ RUN curl --retry 5 --retry-delay 5 -sLO "${ARM_TTK_URI}" \ # dartanalyzer installation && wget --tries=50 -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \ && wget --tries=5 -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \ - && apk add --no-cache glibc-${GLIBC_VERSION}.apk && rm glibc-${GLIBC_VERSION}.apk \ + && apk add --force-overwrite --no-cache glibc-${GLIBC_VERSION}.apk && rm glibc-${GLIBC_VERSION}.apk \ && wget --tries=5 https://storage.googleapis.com/dart-archive/channels/stable/release/${DART_VERSION}/sdk/dartsdk-linux-x64-release.zip -O - -q | unzip -q - \ && chmod +x dart-sdk/bin/dart* \ && mv dart-sdk/bin/* /usr/bin/ && mv dart-sdk/lib/* /usr/lib/ && mv dart-sdk/include/* /usr/include/ \ diff --git a/flavors/ci_light/Dockerfile b/flavors/ci_light/Dockerfile index 405b35ef88b..72b28a821b6 100644 --- a/flavors/ci_light/Dockerfile +++ b/flavors/ci_light/Dockerfile @@ -20,7 +20,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/cupcake/Dockerfile b/flavors/cupcake/Dockerfile index 66eaca2ba1b..6f1d7f8426b 100644 --- a/flavors/cupcake/Dockerfile +++ b/flavors/cupcake/Dockerfile @@ -26,7 +26,7 @@ FROM checkmarx/kics:alpine as kics # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/documentation/Dockerfile b/flavors/documentation/Dockerfile index 60466a5e33d..f2209b6af06 100644 --- a/flavors/documentation/Dockerfile +++ b/flavors/documentation/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/dotnet/Dockerfile b/flavors/dotnet/Dockerfile index 8cc762c8886..6de472bbcb5 100644 --- a/flavors/dotnet/Dockerfile +++ b/flavors/dotnet/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/go/Dockerfile b/flavors/go/Dockerfile index 1fca0b72f32..04d683160d5 100644 --- a/flavors/go/Dockerfile +++ b/flavors/go/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/java/Dockerfile b/flavors/java/Dockerfile index e12ece46c66..e89e96d08af 100644 --- a/flavors/java/Dockerfile +++ b/flavors/java/Dockerfile @@ -23,7 +23,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/javascript/Dockerfile b/flavors/javascript/Dockerfile index d9f62551827..c8fb91dde23 100644 --- a/flavors/javascript/Dockerfile +++ b/flavors/javascript/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/php/Dockerfile b/flavors/php/Dockerfile index 90fc5d1bafb..08a55c25f6b 100644 --- a/flavors/php/Dockerfile +++ b/flavors/php/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/python/Dockerfile b/flavors/python/Dockerfile index a9d401c7008..74517c563f1 100644 --- a/flavors/python/Dockerfile +++ b/flavors/python/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/ruby/Dockerfile b/flavors/ruby/Dockerfile index bf51d1fcbc3..b9ea1583fd2 100644 --- a/flavors/ruby/Dockerfile +++ b/flavors/ruby/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/rust/Dockerfile b/flavors/rust/Dockerfile index c6eed346a49..424f1f0adc6 100644 --- a/flavors/rust/Dockerfile +++ b/flavors/rust/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/salesforce/Dockerfile b/flavors/salesforce/Dockerfile index 3178c3bf8ca..90fc73e9e00 100644 --- a/flavors/salesforce/Dockerfile +++ b/flavors/salesforce/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/security/Dockerfile b/flavors/security/Dockerfile index c74acdccdfa..342e6de1a10 100644 --- a/flavors/security/Dockerfile +++ b/flavors/security/Dockerfile @@ -23,7 +23,7 @@ FROM checkmarx/kics:alpine as kics # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/swift/Dockerfile b/flavors/swift/Dockerfile index c353b0319e3..ed39d7e352c 100644 --- a/flavors/swift/Dockerfile +++ b/flavors/swift/Dockerfile @@ -22,7 +22,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/flavors/terraform/Dockerfile b/flavors/terraform/Dockerfile index 0e8a464a608..f612851a27a 100644 --- a/flavors/terraform/Dockerfile +++ b/flavors/terraform/Dockerfile @@ -26,7 +26,7 @@ FROM checkmarx/kics:alpine as kics # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/ansible_ansible_lint/Dockerfile b/linters/ansible_ansible_lint/Dockerfile index 182c5865906..1f79866ebe2 100644 --- a/linters/ansible_ansible_lint/Dockerfile +++ b/linters/ansible_ansible_lint/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/bash_shellcheck/Dockerfile b/linters/bash_shellcheck/Dockerfile index 05efc29706d..ee34a61d9c3 100644 --- a/linters/bash_shellcheck/Dockerfile +++ b/linters/bash_shellcheck/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/cloudformation_cfn_lint/Dockerfile b/linters/cloudformation_cfn_lint/Dockerfile index 87f3872d983..49b07e40b0b 100644 --- a/linters/cloudformation_cfn_lint/Dockerfile +++ b/linters/cloudformation_cfn_lint/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/dockerfile_hadolint/Dockerfile b/linters/dockerfile_hadolint/Dockerfile index 9c1a7d5f296..65d3e118dbf 100644 --- a/linters/dockerfile_hadolint/Dockerfile +++ b/linters/dockerfile_hadolint/Dockerfile @@ -17,7 +17,7 @@ FROM hadolint/hadolint:v2.12.0-alpine as hadolint # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/go_revive/Dockerfile b/linters/go_revive/Dockerfile index 50d7e279cc6..74d1f325f9b 100644 --- a/linters/go_revive/Dockerfile +++ b/linters/go_revive/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/groovy_npm_groovy_lint/Dockerfile b/linters/groovy_npm_groovy_lint/Dockerfile index a30c88a0693..4ad4c2a280f 100644 --- a/linters/groovy_npm_groovy_lint/Dockerfile +++ b/linters/groovy_npm_groovy_lint/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/java_checkstyle/Dockerfile b/linters/java_checkstyle/Dockerfile index e5821fee122..b8ae8b84660 100644 --- a/linters/java_checkstyle/Dockerfile +++ b/linters/java_checkstyle/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/java_pmd/Dockerfile b/linters/java_pmd/Dockerfile index 4e9e2d7655e..b3b7070a405 100644 --- a/linters/java_pmd/Dockerfile +++ b/linters/java_pmd/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/javascript_es/Dockerfile b/linters/javascript_es/Dockerfile index 1a10cb9e2e8..b3d18c5bf74 100644 --- a/linters/javascript_es/Dockerfile +++ b/linters/javascript_es/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/json_eslint_plugin_jsonc/Dockerfile b/linters/json_eslint_plugin_jsonc/Dockerfile index f41564de894..0953f45cf32 100644 --- a/linters/json_eslint_plugin_jsonc/Dockerfile +++ b/linters/json_eslint_plugin_jsonc/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/jsx_eslint/Dockerfile b/linters/jsx_eslint/Dockerfile index 688848cd6a1..f0539790922 100644 --- a/linters/jsx_eslint/Dockerfile +++ b/linters/jsx_eslint/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/kotlin_ktlint/Dockerfile b/linters/kotlin_ktlint/Dockerfile index bb1fa8de5f7..09dec1446bf 100644 --- a/linters/kotlin_ktlint/Dockerfile +++ b/linters/kotlin_ktlint/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/php_psalm/Dockerfile b/linters/php_psalm/Dockerfile index 2f4068f3a43..4158f93253c 100644 --- a/linters/php_psalm/Dockerfile +++ b/linters/php_psalm/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/python_bandit/Dockerfile b/linters/python_bandit/Dockerfile index 624e06d3f90..90452bc0b7a 100644 --- a/linters/python_bandit/Dockerfile +++ b/linters/python_bandit/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/repository_checkov/Dockerfile b/linters/repository_checkov/Dockerfile index 0ae1bacc63f..6f4f767aa0b 100644 --- a/linters/repository_checkov/Dockerfile +++ b/linters/repository_checkov/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/repository_devskim/Dockerfile b/linters/repository_devskim/Dockerfile index fc1f575613c..9a86e1d1307 100644 --- a/linters/repository_devskim/Dockerfile +++ b/linters/repository_devskim/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/repository_dustilock/Dockerfile b/linters/repository_dustilock/Dockerfile index 29d7f474582..d035ca3e25f 100644 --- a/linters/repository_dustilock/Dockerfile +++ b/linters/repository_dustilock/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/repository_gitleaks/Dockerfile b/linters/repository_gitleaks/Dockerfile index 75125045300..5b1a2ccbdf7 100644 --- a/linters/repository_gitleaks/Dockerfile +++ b/linters/repository_gitleaks/Dockerfile @@ -17,7 +17,7 @@ FROM zricethezav/gitleaks:v8.15.3 as gitleaks # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/repository_secretlint/Dockerfile b/linters/repository_secretlint/Dockerfile index 13c7fa9b121..501691356aa 100644 --- a/linters/repository_secretlint/Dockerfile +++ b/linters/repository_secretlint/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/repository_semgrep/Dockerfile b/linters/repository_semgrep/Dockerfile index f0b67d95768..78d5d59fd9e 100644 --- a/linters/repository_semgrep/Dockerfile +++ b/linters/repository_semgrep/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/repository_syft/Dockerfile b/linters/repository_syft/Dockerfile index 39460e3e8c4..ae77da2e700 100644 --- a/linters/repository_syft/Dockerfile +++ b/linters/repository_syft/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/repository_trivy/Dockerfile b/linters/repository_trivy/Dockerfile index 1fc146bbe9b..7f12ac286d2 100644 --- a/linters/repository_trivy/Dockerfile +++ b/linters/repository_trivy/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/terraform_checkov/Dockerfile b/linters/terraform_checkov/Dockerfile index ebc075d9266..a2f0a0df6dd 100644 --- a/linters/terraform_checkov/Dockerfile +++ b/linters/terraform_checkov/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/terraform_terrascan/Dockerfile b/linters/terraform_terrascan/Dockerfile index 4a25c84594a..3fecfd98307 100644 --- a/linters/terraform_terrascan/Dockerfile +++ b/linters/terraform_terrascan/Dockerfile @@ -17,7 +17,7 @@ FROM tenable/terrascan:1.16.0 as terrascan # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/terraform_tflint/Dockerfile b/linters/terraform_tflint/Dockerfile index ef510b5dfdc..69251034c3d 100644 --- a/linters/terraform_tflint/Dockerfile +++ b/linters/terraform_tflint/Dockerfile @@ -17,7 +17,7 @@ FROM ghcr.io/terraform-linters/tflint:v0.44.1 as tflint # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/tsx_eslint/Dockerfile b/linters/tsx_eslint/Dockerfile index 4f316ac975d..a3687e0ccb1 100644 --- a/linters/tsx_eslint/Dockerfile +++ b/linters/tsx_eslint/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/linters/typescript_es/Dockerfile b/linters/typescript_es/Dockerfile index 9fd20d83428..c569a57acc0 100644 --- a/linters/typescript_es/Dockerfile +++ b/linters/typescript_es/Dockerfile @@ -17,7 +17,7 @@ # Get base image # ################## # 3.10.5 is not usable until https://github.com/jruere/multiprocessing-logging/issues/56 is fixed -FROM python:3.10.4-alpine3.16 +FROM python:3.11.1-alpine3.17 ############################################################################################# ## @generated by .automation/build.py using descriptor files, please do not update manually ## diff --git a/megalinter/descriptors/dart.megalinter-descriptor.yml b/megalinter/descriptors/dart.megalinter-descriptor.yml index 60996125938..20fe14d3480 100644 --- a/megalinter/descriptors/dart.megalinter-descriptor.yml +++ b/megalinter/descriptors/dart.megalinter-descriptor.yml @@ -20,16 +20,17 @@ linters: examples: - "dartanalyzer --fatal-infos --fatal-warnings myfile.dart" - "dartanalyzer --fatal-infos --fatal-warnings --options analysis_options.yml myfile.dart" + downgraded_version: true install: ## stable dart sdk: https://dart.dev/get-dart#release-channels ## install alpine-pkg-glibc (glibc compatibility layer package for Alpine Linux) dockerfile: - ARG DART_VERSION='2.8.4' - - ARG GLIBC_VERSION='2.31-r0' + - ARG GLIBC_VERSION='2.34-r0' - | RUN wget --tries=50 -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \ && wget --tries=5 -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \ - && apk add --no-cache glibc-${GLIBC_VERSION}.apk && rm glibc-${GLIBC_VERSION}.apk \ + && apk add --force-overwrite --no-cache glibc-${GLIBC_VERSION}.apk && rm glibc-${GLIBC_VERSION}.apk \ && wget --tries=5 https://storage.googleapis.com/dart-archive/channels/stable/release/${DART_VERSION}/sdk/dartsdk-linux-x64-release.zip -O - -q | unzip -q - \ && chmod +x dart-sdk/bin/dart* \ && mv dart-sdk/bin/* /usr/bin/ && mv dart-sdk/lib/* /usr/lib/ && mv dart-sdk/include/* /usr/include/ \