This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-2.2 by this push:
     new 7671eca79 ORC-2070: Add `oraclelinux10` to docker tests and GitHub 
Action
7671eca79 is described below

commit 7671eca796b3a4aa5f336f0aea40a7b261b9bad8
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Feb 2 08:49:08 2026 -0800

    ORC-2070: Add `oraclelinux10` to docker tests and GitHub Action
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add `oraclelinux10` to docker tests and GitHub Action.
    
    ### Why are the changes needed?
    
    To have a test coverage for `Oracle Linux 10`.
    
    ### How was this patch tested?
    
    Pass the CIs with the newly added test job.
    
    <img width="397" height="78" alt="Screenshot 2026-02-02 at 08 25 18" 
src="https://github.com/user-attachments/assets/4a0c0158-3976-447b-a637-d9333036e8e9";
 />
    
    ```
    $ docker run -it --rm apache/orc-dev:oraclelinux10 cat /etc/os-release
    NAME="Oracle Linux Server"
    VERSION="10.1"
    ID="ol"
    ID_LIKE="fedora"
    VARIANT="Server"
    VARIANT_ID="server"
    VERSION_ID="10.1"
    PLATFORM_ID="platform:el10"
    PRETTY_NAME="Oracle Linux Server 10.1"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:oracle:linux:10:1:server"
    HOME_URL="https://linux.oracle.com/";
    BUG_REPORT_URL="https://github.com/oracle/oracle-linux";
    
    ORACLE_BUGZILLA_PRODUCT="Oracle Linux 10"
    ORACLE_BUGZILLA_PRODUCT_VERSION=10.1
    ORACLE_SUPPORT_PRODUCT="Oracle Linux"
    ORACLE_SUPPORT_PRODUCT_VERSION=10.1
    ```
    
    ```
    $ docker run -it --rm apache/orc-dev:oraclelinux10 cmake --version
    cmake version 3.30.5
    
    CMake suite maintained and supported by Kitware (kitware.com/cmake).
    ```
    
    ```
    $ docker run -it --rm apache/orc-dev:oraclelinux10 g++ --version
    g++ (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
    Copyright (C) 2024 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    ```
    
    ```
    $ docker run -it --rm apache/orc-dev:oraclelinux10 java --version
    openjdk 21.0.10 2026-01-20 LTS
    OpenJDK Runtime Environment (Red_Hat-21.0.10.0.7-1.0.1) (build 
21.0.10+7-LTS)
    OpenJDK 64-Bit Server VM (Red_Hat-21.0.10.0.7-1.0.1) (build 21.0.10+7-LTS, 
mixed mode, sharing)
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #2506 from dongjoon-hyun/ORC-2070.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 25a117e22f0b3a8a7c673d8d3f501602de75dbc9)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml |  1 +
 docker/README.md                     |  2 +-
 docker/oraclelinux10/Dockerfile      | 43 ++++++++++++++++++++++++++++++++++++
 docker/os-list.txt                   |  1 +
 site/_docs/building.md               |  3 ++-
 5 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 8b86d4196..7ee7f74b3 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -50,6 +50,7 @@ jobs:
           - ubuntu24
           - oraclelinux8
           - oraclelinux9
+          - oraclelinux10
           - amazonlinux23
     steps:
     - name: Checkout
diff --git a/docker/README.md b/docker/README.md
index f475022d0..77a70fe94 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -5,7 +5,7 @@
 * Debian 11, 12, and 13
 * Fedora 37
 * Ubuntu 22 and 24
-* Oracle Linux 9
+* Oracle Linux 9 and 10
 * Amazon Linux 2023
 
 ## Pre-built Images
diff --git a/docker/oraclelinux10/Dockerfile b/docker/oraclelinux10/Dockerfile
new file mode 100644
index 000000000..54558b916
--- /dev/null
+++ b/docker/oraclelinux10/Dockerfile
@@ -0,0 +1,43 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# ORC compile for Oracle Linux 10
+#
+
+FROM oraclelinux:10
+LABEL org.opencontainers.image.authors="Apache ORC project 
<[email protected]>"
+LABEL org.opencontainers.image.licenses="Apache-2.0"
+
+RUN dnf check-update || true
+RUN dnf install -y \
+  git \
+  cmake \
+  gcc \
+  gcc-c++ \
+  java-21-openjdk-devel
+
+WORKDIR /root
+VOLUME /root/.m2/repository
+
+CMD if [ ! -d orc ]; then \
+      echo "No volume provided, building from apache main."; \
+      echo "Pass '-v`pwd`:/root/orc' to docker run to build local source."; \
+      git clone https://github.com/apache/orc.git -b main; \
+    fi && \
+    mkdir build && \
+    cd build && \
+    cmake ../orc && \
+    make package test-out
diff --git a/docker/os-list.txt b/docker/os-list.txt
index 65ff27719..e11761ca9 100644
--- a/docker/os-list.txt
+++ b/docker/os-list.txt
@@ -5,4 +5,5 @@ ubuntu22
 ubuntu24
 oraclelinux8
 oraclelinux9
+oraclelinux10
 amazonlinux23
diff --git a/site/_docs/building.md b/site/_docs/building.md
index 967cde2e6..4eeaee2a3 100644
--- a/site/_docs/building.md
+++ b/site/_docs/building.md
@@ -12,7 +12,7 @@ The C++ library is supported on the following operating 
systems:
 * MacOS 14 to 26
 * Debian 11 to 13
 * Ubuntu 22.04 to 24.04
-* Oracle Linux 8 to 9
+* Oracle Linux 8 to 10
 * Amazon Linux 2023
 
 You'll want to install the usual set of developer tools, but at least:
@@ -33,6 +33,7 @@ is in the docker subdirectory, for the list of packages 
required to build ORC:
 * [Ubuntu 24]({{ page.dockerUrl }}/ubuntu24/Dockerfile)
 * [Oracle Linux 8]({{ page.dockerUrl }}/oraclelinux8/Dockerfile)
 * [Oracle Linux 9]({{ page.dockerUrl }}/oraclelinux9/Dockerfile)
+* [Oracle Linux 10]({{ page.dockerUrl }}/oraclelinux10/Dockerfile)
 * [Amazon Linux 2023]({{ page.dockerUrl }}/amazonlinux23/Dockerfile)
 
 To build a normal release:

Reply via email to