Update Almalinux to 10.2 Change-Id: Ic638c89deb4ec76d88c4471037a7f84cc867cd83
diff --git a/almalinux/9/Dockerfile b/almalinux/10/Dockerfile similarity index 97% rename from almalinux/9/Dockerfile rename to almalinux/10/Dockerfile index 57714fe..feff9f4 100644 --- a/almalinux/9/Dockerfile +++ b/almalinux/10/Dockerfile
@@ -1,6 +1,9 @@ -FROM almalinux:9.7 +FROM almalinux:10.2 LABEL org.opencontainers.image.authors="luca.milanesio@gmail.com" +# Enable LEGACY security policies by default (for TLS 1.0/1.1 compatibility) +RUN update-crypto-policies --set LEGACY + # Add Gerrit packages repository and the newest GPG key RUN rpm -i https://gerritforge.com/gerritforge-repo-1-5.noarch.rpm @@ -16,9 +19,6 @@ rm -f /var/gerrit/etc/{ssh,secure}* && rm -Rf /var/gerrit/{static,index,logs,data,index,cache,git,db,tmp}/* && chown -R gerrit:gerrit /var/gerrit && \ yum -y clean all -# Enable LEGACY security policies by default (for TLS 1.0/1.1 compatibility) -RUN update-crypto-policies --set LEGACY - USER gerrit ENV CANONICAL_WEB_URL=
diff --git a/almalinux/9/Dockerfile-dev b/almalinux/10/Dockerfile-dev similarity index 98% rename from almalinux/9/Dockerfile-dev rename to almalinux/10/Dockerfile-dev index 9d05e41..5073136 100644 --- a/almalinux/9/Dockerfile-dev +++ b/almalinux/10/Dockerfile-dev
@@ -1,4 +1,4 @@ -FROM almalinux:9.7 +FROM almalinux:10.2 LABEL org.opencontainers.image.authors="luca.milanesio@gmail.com" # Allow remote connectivity and sudo and install OpenJDK and Git
diff --git a/almalinux/9/entrypoint.sh b/almalinux/10/entrypoint.sh similarity index 100% rename from almalinux/9/entrypoint.sh rename to almalinux/10/entrypoint.sh
diff --git a/build_multiplatform.sh b/build_multiplatform.sh index e4c3cd1..7318dd4 100755 --- a/build_multiplatform.sh +++ b/build_multiplatform.sh
@@ -67,7 +67,7 @@ echo echo "### Building almalinux multi-platform: [$PLATFORMS] iamges" -(cd almalinux/9 && docker buildx build --platform "$PLATFORMS" --no-cache -t "$DOCKER_USER:${VERSION}-almalinux9" -t "$DOCKER_USER:$VERSION" "$DESTINATION" .) +(cd almalinux/10 && docker buildx build --platform "$PLATFORMS" --no-cache -t "$DOCKER_USER:${VERSION}-almalinux10" -t "$DOCKER_USER:$VERSION" "$DESTINATION" .) echo echo "### Building ubuntu multi-platform: [$PLATFORMS] iamges"