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

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


The following commit(s) were added to refs/heads/main by this push:
     new a72505f3a ORC-2092: Add `ubuntu26` to docker tests and GitHub Action
a72505f3a is described below

commit a72505f3a07142b88b999b47e312b69ca525c336
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Feb 12 17:12:45 2026 -0800

    ORC-2092: Add `ubuntu26` to docker tests and GitHub Action
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add `ubuntu26` to docker tests and GitHub Action.
    
    ### Why are the changes needed?
    
    `Ubuntu 26.04` is coming soon. This aims to be ready for this in advance as 
a test coverage.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #2531 from dongjoon-hyun/ORC-2092.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml |  1 +
 docker/README.md                     |  2 +-
 docker/os-list.txt                   |  1 +
 docker/ubuntu26/Dockerfile           | 65 ++++++++++++++++++++++++++++++++++++
 site/_docs/building.md               |  3 +-
 5 files changed, 70 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 037617cde..96d030bee 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -50,6 +50,7 @@ jobs:
           - debian12
           - debian13
           - ubuntu24
+          - ubuntu26
           - oraclelinux9
           - oraclelinux10
           - amazonlinux23
diff --git a/docker/README.md b/docker/README.md
index 06fd4e07e..9c03cad64 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -4,7 +4,7 @@
 
 * Debian 12, and 13
 * Fedora 37
-* Ubuntu 22 and 24
+* Ubuntu 22, 24 and 26
 * Oracle Linux 9 and 10
 * Amazon Linux 2023
 
diff --git a/docker/os-list.txt b/docker/os-list.txt
index d76677f3f..a80d22973 100644
--- a/docker/os-list.txt
+++ b/docker/os-list.txt
@@ -2,6 +2,7 @@ debian12
 debian13
 ubuntu22
 ubuntu24
+ubuntu26
 oraclelinux9
 oraclelinux10
 amazonlinux23
diff --git a/docker/ubuntu26/Dockerfile b/docker/ubuntu26/Dockerfile
new file mode 100644
index 000000000..0aba06243
--- /dev/null
+++ b/docker/ubuntu26/Dockerfile
@@ -0,0 +1,65 @@
+# 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 Ubuntu 26
+#
+
+FROM ubuntu:26.04
+LABEL org.opencontainers.image.authors="Apache ORC project 
<[email protected]>"
+LABEL org.opencontainers.image.licenses="Apache-2.0"
+LABEL org.opencontainers.image.ref.name="Apache ORC on Ubuntu 26"
+LABEL org.opencontainers.image.version=""
+ARG jdk=21
+ARG cc=gcc
+
+RUN apt-get update
+RUN apt-get install -y \
+  cmake \
+  git \
+  make \
+  curl \
+  maven \
+  openjdk-${jdk}-jdk \
+  tzdata; \
+  if [ "${cc}" = "gcc" ] ; then \
+    apt-get install -y \
+    gcc \
+    g++ \
+  ; else \
+    apt-get install -y \
+    clang \
+    && \
+    update-alternatives --set cc  /usr/bin/clang && \
+    update-alternatives --set c++ /usr/bin/clang++ \
+  ; fi
+RUN update-alternatives --set java $(update-alternatives --list java | grep 
${jdk}) && \
+    update-alternatives --set javac $(update-alternatives --list javac | grep 
${jdk})
+
+ENV CC=cc
+ENV CXX=c++
+
+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/site/_docs/building.md b/site/_docs/building.md
index 54a44ed78..5536fd719 100644
--- a/site/_docs/building.md
+++ b/site/_docs/building.md
@@ -11,7 +11,7 @@ The C++ library is supported on the following operating 
systems:
 
 * MacOS 15 to 26
 * Debian 12 to 13
-* Ubuntu 22.04 to 24.04
+* Ubuntu 22.04 to 26.04
 * Oracle Linux 9 to 10
 * Amazon Linux 2023
 
@@ -30,6 +30,7 @@ is in the docker subdirectory, for the list of packages 
required to build ORC:
 * [Debian 13]({{ page.dockerUrl }}/debian13/Dockerfile)
 * [Ubuntu 22]({{ page.dockerUrl }}/ubuntu22/Dockerfile)
 * [Ubuntu 24]({{ page.dockerUrl }}/ubuntu24/Dockerfile)
+* [Ubuntu 26]({{ page.dockerUrl }}/ubuntu26/Dockerfile)
 * [Oracle Linux 9]({{ page.dockerUrl }}/oraclelinux9/Dockerfile)
 * [Oracle Linux 10]({{ page.dockerUrl }}/oraclelinux10/Dockerfile)
 * [Amazon Linux 2023]({{ page.dockerUrl }}/amazonlinux23/Dockerfile)

Reply via email to