Skip to content

Docker image for openwebui-pipelines#7895

Open
vikashsingh14 wants to merge 4 commits intoppc64le:masterfrom
vikashsingh14:openwebui-pipelines-dockerfile
Open

Docker image for openwebui-pipelines#7895
vikashsingh14 wants to merge 4 commits intoppc64le:masterfrom
vikashsingh14:openwebui-pipelines-dockerfile

Conversation

@vikashsingh14
Copy link

@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
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
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
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
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
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
Author

vikashsingh14 commented Feb 18, 2026

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

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.

2 participants