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 eb5665c53 ORC-2064: Update `oraclelinux9` to use `dnf` instead of `yum`
eb5665c53 is described below

commit eb5665c537ff7462323371e99bda9a5d13a80fda
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Jan 29 13:55:21 2026 +0900

    ORC-2064: Update `oraclelinux9` to use `dnf` instead of `yum`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to update `oraclelinux9` to use `dnf` instead of `yum`.
    
    ### Why are the changes needed?
    
    Since `Oracle Linux 8`, `yum` is an alias of `dnf` command. We had better 
use `dnf` directly.
    
    ```
    $ docker run -it --rm apache/orc-dev:oraclelinux9 ls -al /usr/bin/yum
    lrwxrwxrwx 1 root root 5 Aug 13 03:53 /usr/bin/yum -> dnf-3
    ```
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #2502 from dongjoon-hyun/ORC-2064.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 0aee743b5fb49655271a59b984f1d89908f96b05)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 docker/oraclelinux9/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/oraclelinux9/Dockerfile b/docker/oraclelinux9/Dockerfile
index a0f962349..4f4c628c2 100644
--- a/docker/oraclelinux9/Dockerfile
+++ b/docker/oraclelinux9/Dockerfile
@@ -21,8 +21,8 @@ FROM oraclelinux:9
 LABEL org.opencontainers.image.authors="Apache ORC project 
<[email protected]>"
 LABEL org.opencontainers.image.licenses="Apache-2.0"
 
-RUN yum check-update || true
-RUN yum install -y \
+RUN dnf check-update || true
+RUN dnf install -y \
   cmake3 \
   curl-devel \
   cyrus-sasl-devel \

Reply via email to