chore: bump alpine image to 3.20 and php to 8.3.x (#5863)

This commit is contained in:
Chongyi Zheng 2024-07-15 05:52:42 -04:00 committed by GitHub
parent 587fe0a8b9
commit d9d19095ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 28 deletions

View file

@ -28,10 +28,10 @@ FROM zricethezav/gitleaks:v8.18.3 AS gitleaks
FROM yoheimuta/protolint:0.50.2 AS protolint FROM yoheimuta/protolint:0.50.2 AS protolint
FROM ghcr.io/clj-kondo/clj-kondo:2024.05.24-alpine AS clj-kondo FROM ghcr.io/clj-kondo/clj-kondo:2024.05.24-alpine AS clj-kondo
FROM dart:3.4.2-sdk AS dart FROM dart:3.4.2-sdk AS dart
FROM mcr.microsoft.com/dotnet/sdk:8.0.301-alpine3.19 AS dotnet-sdk FROM mcr.microsoft.com/dotnet/sdk:8.0.302-alpine3.20 AS dotnet-sdk
FROM mcr.microsoft.com/powershell:7.4-alpine-3.17 AS powershell FROM mcr.microsoft.com/powershell:7.4-alpine-3.17 AS powershell
FROM python:3.12.3-alpine3.19 AS clang-format FROM python:3.12.3-alpine3.20 AS clang-format
RUN apk add --no-cache \ RUN apk add --no-cache \
build-base \ build-base \
@ -58,7 +58,7 @@ RUN cmake \
&& ninja clang-format \ && ninja clang-format \
&& mv /tmp/llvm-project/llvm/build/bin/clang-format /usr/bin && mv /tmp/llvm-project/llvm/build/bin/clang-format /usr/bin
FROM python:3.12.3-alpine3.19 AS python-builder FROM python:3.12.3-alpine3.20 AS python-builder
RUN apk add --no-cache \ RUN apk add --no-cache \
bash bash
@ -69,7 +69,7 @@ COPY dependencies/python/ /stage
WORKDIR /stage WORKDIR /stage
RUN ./build-venvs.sh && rm -rfv /stage RUN ./build-venvs.sh && rm -rfv /stage
FROM python:3.12.3-alpine3.19 AS npm-builder FROM python:3.12.3-alpine3.20 AS npm-builder
RUN apk add --no-cache \ RUN apk add --no-cache \
bash \ bash \
@ -100,7 +100,7 @@ COPY TEMPLATES/.tflint.hcl /action/lib/.automation/
# Initialize TFLint plugins so we get plugin versions listed when we ask for TFLint version # Initialize TFLint plugins so we get plugin versions listed when we ask for TFLint version
RUN tflint --init -c /action/lib/.automation/.tflint.hcl RUN tflint --init -c /action/lib/.automation/.tflint.hcl
FROM python:3.12.3-alpine3.19 AS lintr-installer FROM python:3.12.3-alpine3.20 AS lintr-installer
RUN apk add --no-cache \ RUN apk add --no-cache \
bash \ bash \
@ -117,7 +117,7 @@ FROM powershell AS powershell-installer
# when copying PowerShell stuff in the main image # when copying PowerShell stuff in the main image
RUN echo "${PS_INSTALL_FOLDER}" > /tmp/PS_INSTALL_FOLDER RUN echo "${PS_INSTALL_FOLDER}" > /tmp/PS_INSTALL_FOLDER
FROM python:3.12.3-alpine3.19 AS base_image FROM python:3.12.3-alpine3.20 AS base_image
LABEL com.github.actions.name="Super-Linter" \ LABEL com.github.actions.name="Super-Linter" \
com.github.actions.description="Super-linter is a ready-to-run collection of linters and code analyzers, to help validate your source code." \ com.github.actions.description="Super-linter is a ready-to-run collection of linters and code analyzers, to help validate your source code." \
@ -158,17 +158,17 @@ RUN apk add --no-cache \
openssh-client \ openssh-client \
parallel \ parallel \
perl \ perl \
php82 \ php83 \
php82-ctype \ php83-ctype \
php82-curl \ php83-curl \
php82-dom \ php83-dom \
php82-iconv \ php83-iconv \
php82-mbstring \ php83-mbstring \
php82-openssl \ php83-openssl \
php82-phar \ php83-phar \
php82-simplexml \ php83-simplexml \
php82-tokenizer \ php83-tokenizer \
php82-xmlwriter \ php83-xmlwriter \
R \ R \
rakudo \ rakudo \
ruby \ ruby \

View file

@ -51,17 +51,17 @@ control "super-linter-installed-packages" do
"openssh-client", "openssh-client",
"parallel", "parallel",
"perl", "perl",
"php82", "php83",
"php82-ctype", "php83-ctype",
"php82-curl", "php83-curl",
"php82-dom", "php83-dom",
"php82-iconv", "php83-iconv",
"php82-mbstring", "php83-mbstring",
"php82-openssl", "php83-openssl",
"php82-phar", "php83-phar",
"php82-simplexml", "php83-simplexml",
"php82-tokenizer", "php83-tokenizer",
"php82-xmlwriter", "php83-xmlwriter",
"R", "R",
"rakudo", "rakudo",
"ruby", "ruby",