[PR #47] [CLOSED] feat:Add python3-pip to Dockerfile Dependencies #278

Closed
opened 2026-02-16 01:15:21 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/47
Author: @jun0315
Created: 3/1/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docker/local.dockerfile (+1 -1)

📄 Description

This PR adds python3-pip to the list of packages installed in the Docker image. The change addresses scenarios where the environment operates in an air-gapped/offline network (no external internet access) and requires manual installation of Python libraries during development or deployment.

Context:
When introducing new model APIs that depend on third-party Python libraries(dify_plugin), teams in restricted environments must manually install dependencies within the container. Without pip, users cannot use pip install to add libraries from pre-downloaded source distributions or internal package repositories. Adding python3-pip ensures compatibility with offline workflows.

Impact:
By including pip, users gain flexibility to:

Install libraries from local .whl or .tar.gz files during container runtime.
Integrate with internal artifact repositories or mirrored PyPI sources.
Avoid reliance on external PyPI servers during deployment.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-daemon/pull/47 **Author:** [@jun0315](https://github.com/jun0315) **Created:** 3/1/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`453d2a7`](https://github.com/langgenius/dify-plugin-daemon/commit/453d2a75ad9f933e77cc5df98f4800ce6a5c8177) feat:add pip in docker ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docker/local.dockerfile` (+1 -1) </details> ### 📄 Description This PR adds python3-pip to the list of packages installed in the Docker image. The change addresses scenarios where the environment operates in an air-gapped/offline network (no external internet access) and requires manual installation of Python libraries during development or deployment. Context: When introducing new model APIs that depend on third-party Python libraries(dify_plugin), teams in restricted environments must manually install dependencies within the container. Without pip, users cannot use pip install to add libraries from pre-downloaded source distributions or internal package repositories. Adding python3-pip ensures compatibility with offline workflows. Impact: By including pip, users gain flexibility to: Install libraries from local .whl or .tar.gz files during container runtime. Integrate with internal artifact repositories or mirrored PyPI sources. Avoid reliance on external PyPI servers during deployment. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:21 -05:00
yindo closed this issue 2026-02-16 01:15:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#278