Skip to content

RHOAIENG-28547: add TeX Live and Pandoc installation for ppc64le #1318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: rhoai-2.23-multi-arch-poc
Choose a base branch
from

Conversation

puneetsharma21
Copy link

This PR adds support for installing TeX Live and Pandoc in the Jupyter notebook image for the ppc64le (IBM Power) architecture to enable PDF export functionality.

Key Changes:
Updated Dockerfile.cpu to:
Set the appropriate TeX Live path for Power
Validate pdflatex availability post-install
Ensured existing x86_64 logic is not affected.

Copy link

openshift-ci bot commented Jul 30, 2025

Hi @puneetsharma21. Thanks for your PR.

I'm waiting for a red-hat-data-services member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@npanpaliya
Copy link

/ok-to-test

@npanpaliya
Copy link

/ok-to-test

@npanpaliya
Copy link

/ok-to-test

2 similar comments
@jiridanek
Copy link
Member

/ok-to-test

@npanpaliya
Copy link

/ok-to-test

Comment on lines 16 to 25
# Install build dependencies
dnf install -y https://mirror.stream.centos.org/9-stream/BaseOS/ppc64le/os/Packages/centos-gpg-keys-9.0-24.el9.noarch.rpm \
https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-stream-repos-9.0-24.el9.noarch.rpm \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
dnf config-manager --add-repo https://mirror.stream.centos.org/9-stream/BaseOS/ppc64le/os
dnf config-manager --add-repo https://mirror.stream.centos.org/9-stream/AppStream/ppc64le/os
dnf config-manager --set-enabled crb
dnf install -y gcc-toolset-13 perl make libX11-devel libXt-devel \
zlib-devel freetype-devel libpng-devel ncurses-devel \
gd-devel libtool wget tar xz bison flex libXaw-devel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry, but no, this is not permitted, UBI and CentOS may not be mixed in anything that Red Hat does, that's against Red Hat policy.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jiridanek Thanks for pointing this out.

I've now removed CentOS repository configuration from the script. Instead, I'm directly installing only the required packages via RPMs (from CentOS Stream) using rpm -ivh --nodeps, and only for those not available in UBI.

Copy link

openshift-ci bot commented Aug 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from jiridanek. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jiridanek jiridanek changed the title Add TeX Live and Pandoc installation for ppc64le RHOAIENG-28547: add TeX Live and Pandoc installation for ppc64le Aug 7, 2025
@npanpaliya npanpaliya changed the base branch from rhoai-2.23-multi-arch-poc to main August 18, 2025 04:33
@npanpaliya npanpaliya changed the base branch from main to rhoai-2.23-multi-arch-poc August 18, 2025 04:33
Copy link

openshift-ci bot commented Aug 18, 2025

@puneetsharma21: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/images 3c790ad link true /test images

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants