Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
- debian12
- debian13
- ubuntu24
- ubuntu26
- oraclelinux9
- oraclelinux10
- amazonlinux23
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions docker/os-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ debian12
debian13
ubuntu22
ubuntu24
ubuntu26
oraclelinux9
oraclelinux10
amazonlinux23
65 changes: 65 additions & 0 deletions docker/ubuntu26/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <dev@orc.apache.org>"
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
3 changes: 2 additions & 1 deletion site/_docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand Down
Loading