From 11c94a06896067ce99103237428c21dd7cba0f5e Mon Sep 17 00:00:00 2001 From: Djuradj Kurepa Date: Fri, 19 Jun 2026 10:35:59 +0200 Subject: [PATCH] Delete almalinux 8 --- src/almalinux/8/helix/amd64/Dockerfile | 45 ---------------- src/almalinux/8/source-build/amd64/Dockerfile | 53 ------------------- src/almalinux/manifest.json | 21 -------- 3 files changed, 119 deletions(-) delete mode 100644 src/almalinux/8/helix/amd64/Dockerfile delete mode 100644 src/almalinux/8/source-build/amd64/Dockerfile diff --git a/src/almalinux/8/helix/amd64/Dockerfile b/src/almalinux/8/helix/amd64/Dockerfile deleted file mode 100644 index 647c73047..000000000 --- a/src/almalinux/8/helix/amd64/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -FROM library/almalinux:8 - -ARG PIP_INDEX_URL -ENV PIP_INDEX_URL=${PIP_INDEX_URL} -ARG HELIX_FEED - -RUN dnf upgrade --refresh -y \ - && dnf install --setopt tsflags=nodocs -y \ - 'dnf-command(config-manager)' \ - && dnf config-manager --add-repo=https://packages.microsoft.com/rhel/8/prod/config.repo \ - && dnf install --setopt tsflags=nodocs -y \ - # Get recent python3 This is needed to get a pip recent enough - # not to fail the build when installing cryptography library as - # a dependency of the helix scripts. - python39 \ - # Required for asp.net core test runs - sudo \ - libicu \ - libmsquic \ - # Required for arcade test runs - cpio \ - file \ - && dnf clean all - -# Test runs expect python to be available without version suffix -RUN alternatives --set python /usr/bin/python3 \ - && ln -sf /usr/bin/pip3 /usr/bin/pip - -ENV LANG=en-US.UTF-8 - -# create helixbot user and give rights to sudo without password -RUN adduser --uid 1000 --shell /bin/bash --gid adm helixbot \ - && chmod 755 /root \ - && echo "helixbot ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/helixbot - -USER helixbot -WORKDIR /home/helixbot -ENV VIRTUAL_ENV=/home/helixbot/.vsts-env - -RUN python -m venv $VIRTUAL_ENV && \ - ${VIRTUAL_ENV}/bin/pip install --upgrade pip setuptools && \ - ${VIRTUAL_ENV}/bin/pip download --no-deps --index-url $HELIX_FEED helix-scripts && \ - ${VIRTUAL_ENV}/bin/pip install --index-url $PIP_INDEX_URL ./helix_scripts-*-py3-none-any.whl && \ - rm ./helix_scripts-*-py3-none-any.whl -ENV PATH="${VIRTUAL_ENV}/bin:${PATH}" diff --git a/src/almalinux/8/source-build/amd64/Dockerfile b/src/almalinux/8/source-build/amd64/Dockerfile deleted file mode 100644 index 1bcfc8da5..000000000 --- a/src/almalinux/8/source-build/amd64/Dockerfile +++ /dev/null @@ -1,53 +0,0 @@ -FROM library/almalinux:8 - -# Install dependencies -RUN dnf upgrade --refresh -y \ - && dnf install --setopt tsflags=nodocs -y \ - 'dnf-command(config-manager)' \ - epel-release \ - && dnf config-manager --set-enabled powertools \ - && dnf config-manager --set-enabled epel \ - && dnf config-manager --add-repo=https://packages.microsoft.com/rhel/8/prod/config.repo \ - && dnf install --setopt tsflags=nodocs -y \ - "perl(Time::HiRes)" \ - autoconf \ - automake \ - azure-cli \ - brotli-devel \ - cmake \ - cpio \ - elfutils \ - file \ - gdb \ - git \ - glibc-langpack-en \ - iproute \ - jq \ - krb5-devel \ - libcurl-devel \ - libicu-devel \ - libtool \ - # Requires epel - libunwind-devel \ - libuuid-devel \ - libxml2-devel \ - llvm-toolset \ - lld \ - # Requires powertools - lttng-ust-devel \ - make \ - ncurses-devel \ - ninja-build \ - openssl-devel \ - readline-devel \ - python3 \ - sudo \ - swig \ - wget \ - which \ - xz \ - zlib-devel \ - powershell \ - && dnf module install -y \ - nodejs:20 \ - && dnf clean all diff --git a/src/almalinux/manifest.json b/src/almalinux/manifest.json index 9fa467abe..fa3242a1f 100644 --- a/src/almalinux/manifest.json +++ b/src/almalinux/manifest.json @@ -3,27 +3,6 @@ { "name": "dotnet-buildtools/prereqs", "images": [ - { - "platforms": [ - { - "dockerfile": "src/almalinux/8/source-build/amd64", - "os": "linux", - "osVersion": "almalinux8", - "tags": { - "almalinux-8-source-build": {}, - "almalinux-8-source-build-amd64": {} - } - }, - { - "dockerfile": "src/almalinux/8/helix/amd64", - "os": "linux", - "osVersion": "almalinux8", - "tags": { - "almalinux-8-helix-amd64": {} - } - } - ] - }, { "platforms": [ {