Skip to content

Comments

Docker image for openwebui-pipelines#7895

Merged
Sapana-Khemkar merged 9 commits intoppc64le:masterfrom
vikashsingh14:openwebui-pipelines-dockerfile
Feb 23, 2026
Merged

Docker image for openwebui-pipelines#7895
Sapana-Khemkar merged 9 commits intoppc64le:masterfrom
vikashsingh14:openwebui-pipelines-dockerfile

Conversation

@vikashsingh14
Copy link
Contributor

@vikashsingh14 vikashsingh14 commented Feb 11, 2026

This PR adds the Docker image for openwebui-pipelines.

Checklist

  • Have you checked and followed all the points mentioned in the CONTRIBUTING.md
  • Do you have legal approvals for the patch files?

rm -rf /app/.git && \
find /app -name '*.pyc' -o -name '*.pyo' -o -name '__pycache__' -type f -delete

COPY requirements.txt /app/requirements.txt
Copy link
Contributor

Choose a reason for hiding this comment

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

from where are users supposed to copy requirements.txt? Why are you not updating existing requirements.txt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

from where are users supposed to copy requirements.txt? Why are you not updating existing requirements.txt?

Hi @Sapana-Khemkar, Sure I will update it!!

@Sapana-Khemkar
Copy link
Contributor

Why you have created folder pipelines-openwebui_python311_main inside Dockerfiles folder? Do you really need it?

Copy link
Contributor

Choose a reason for hiding this comment

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

what is purpose of this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I created a build.sh script to build image but noticed no one else uses it in build script repo, I have deleted it!

patchelf semantic_version build

WORKDIR /app
COPY patches /patches
Copy link
Contributor

Choose a reason for hiding this comment

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

use wget for copying patches. Don't assume it is available on host machine

Copy link
Contributor Author

Choose a reason for hiding this comment

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

/opt/venv/bin/pip install /tmp/ddtrace-*.whl && \
rm -rf /tmp/* && \
git clone --depth=1 https://github.com/open-webui/pipelines.git . && \
patch -p1 < /patches/requirements.patch && \
Copy link
Contributor

Choose a reason for hiding this comment

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

why have you not used git apply here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I modified docker file & used
git apply /patches/pipelines_requirements.patch

Done!!

@vikashsingh14
Copy link
Contributor Author

Why you have created folder pipelines-openwebui_python311_main inside Dockerfiles folder? Do you really need it?

Purva suggested this approach because Pratik recommended this folder structure to her. But now as you suggested (In Dockerfiles we generally create folder based on base image name and package version. In you case it is not both)

Done!!

@vikashsingh14
Copy link
Contributor Author

vikashsingh14 commented Feb 18, 2026

Hi @Sapana-Khemkar, PR is ready for review, please review.

"use_non_root_user": false,
"*": {
"dir": "pipelines-openwebui_python311_main",
"base_docker_image":"registry.access.redhat.com/ubi9/python-311:latest",
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please update the base image to registry.access.redhat.com/ubi9/ubi-minimal:latest ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!, Thanks Purva!!

@purvanaik1
Copy link
Contributor

Hi @vikashsingh14, Can you update your package structure by referring to https://github.com/ppc64le/build-scripts/tree/de068ee9f260b2d2c39752953fa64ed4155316a6/m/milvus

Copy link
Contributor

@purvanaik1 purvanaik1 left a comment

Choose a reason for hiding this comment

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

patchelf semantic_version build && \
mkdir -p /patches && \
wget -q -O /patches/libdatadog-crashtracker_25.0.0.patch \
https://raw.githubusercontent.com/vikashsingh14/build-scripts/openwebui-pipelines-dockerfile/o/openwebui-pipelines/ubi9-pipelines-v1.0.0/patches/libdatadog-crashtracker_25.0.0.patch && \
Copy link
Contributor

Choose a reason for hiding this comment

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

Update vikashsingh14 to ppc64le and openwebui-pipelines-dockerfile to master

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!!

wget -q -O /patches/libdatadog-crashtracker_25.0.0.patch \
https://raw.githubusercontent.com/vikashsingh14/build-scripts/openwebui-pipelines-dockerfile/o/openwebui-pipelines/ubi9-pipelines-v1.0.0/patches/libdatadog-crashtracker_25.0.0.patch && \
wget -q -O /patches/ddtrace_4.3.0.patch \
https://raw.githubusercontent.com/vikashsingh14/build-scripts/openwebui-pipelines-dockerfile/o/openwebui-pipelines/ubi9-pipelines-v1.0.0/patches/ddtrace_4.3.0.patch
Copy link
Contributor

Choose a reason for hiding this comment

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

Update vikashsingh14 to ppc64le and openwebui-pipelines-dockerfile to master

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!!

/opt/venv/bin/pip install --no-cache-dir --upgrade pip && \
mkdir -p /patches && \
wget -q -O /patches/requirements.patch \
https://raw.githubusercontent.com/vikashsingh14/build-scripts/openwebui-pipelines-dockerfile/o/openwebui-pipelines/ubi9-pipelines-v1.0.0/patches/requirements.patch
Copy link
Contributor

Choose a reason for hiding this comment

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

Update vikashsingh14 to ppc64le and openwebui-pipelines-dockerfile to master

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!!

@purvanaik1
Copy link
Contributor

  1. Rename ubi9-pipelines-v1.0.0 to 0.0.1_ubi9_minimal, since 0.0.1 is the package version specified in build_info.json and ubi9:minimal is the base image.

  2. Move 0.0.1_ubi9_minimal into the Dockerfiles directory.

@Sapana-Khemkar Sapana-Khemkar merged commit 2557acf into ppc64le:master Feb 23, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants