[PR #178] [MERGED] refactor: dockerfile #191

Closed
opened 2026-02-16 09:19:48 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-sandbox/pull/178
Author: @Yeuoly
Created: 7/21/2025
Status: Merged
Merged: 7/21/2025
Merged by: @Yeuoly

Base: mainHead: refactor/dockerfile


📝 Commits (4)

  • d46bb3e feat: Introduce Dockerfile generation scripts and templates
  • 5447a52 feat: Enhance CI workflows with yq installation and Dockerfile generation
  • 9d493af feat: Update CI workflow to read Go version from configuration
  • a288405 chore: Remove legacy Dockerfile templates and update .gitignore

📊 Changes

12 files changed (+388 additions, -220 deletions)

View changed files

📝 .github/workflows/build.yml (+27 -2)
📝 .github/workflows/tests.yml (+21 -7)
📝 .gitignore (+3 -1)
docker/amd64-test/dockerfile (+0 -64)
docker/amd64/dockerfile (+0 -41)
docker/arm64-test/dockerfile (+0 -64)
docker/arm64/dockerfile (+0 -41)
docker/generate.sh (+109 -0)
docker/templates/base.dockerfile (+27 -0)
docker/templates/production.dockerfile (+60 -0)
docker/templates/test.dockerfile (+99 -0)
docker/versions.yaml (+42 -0)

📄 Description

- Added scripts to generate Dockerfiles for production and test environments based on architecture (amd64, arm64).
- Created base, production, and test Dockerfile templates to streamline Dockerfile creation.
- Centralized version management with a new versions.yaml file for easier updates of dependencies and mirrors.
- Removed legacy Dockerfiles for amd64 and arm64 in favor of generated templates.

🔄 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-sandbox/pull/178 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 7/21/2025 **Status:** ✅ Merged **Merged:** 7/21/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `refactor/dockerfile` --- ### 📝 Commits (4) - [`d46bb3e`](https://github.com/langgenius/dify-sandbox/commit/d46bb3ecf443168ab5d732ecd66f0c5cc94920d8) feat: Introduce Dockerfile generation scripts and templates - [`5447a52`](https://github.com/langgenius/dify-sandbox/commit/5447a528aaab203460b96fef3cc5b7403886a137) feat: Enhance CI workflows with yq installation and Dockerfile generation - [`9d493af`](https://github.com/langgenius/dify-sandbox/commit/9d493afdfeef0598bf43fdf2540efa4e743e702c) feat: Update CI workflow to read Go version from configuration - [`a288405`](https://github.com/langgenius/dify-sandbox/commit/a28840570042b0824fc2f3b418aff207da34bd9c) chore: Remove legacy Dockerfile templates and update .gitignore ### 📊 Changes **12 files changed** (+388 additions, -220 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+27 -2) 📝 `.github/workflows/tests.yml` (+21 -7) 📝 `.gitignore` (+3 -1) ➖ `docker/amd64-test/dockerfile` (+0 -64) ➖ `docker/amd64/dockerfile` (+0 -41) ➖ `docker/arm64-test/dockerfile` (+0 -64) ➖ `docker/arm64/dockerfile` (+0 -41) ➕ `docker/generate.sh` (+109 -0) ➕ `docker/templates/base.dockerfile` (+27 -0) ➕ `docker/templates/production.dockerfile` (+60 -0) ➕ `docker/templates/test.dockerfile` (+99 -0) ➕ `docker/versions.yaml` (+42 -0) </details> ### 📄 Description - Added scripts to generate Dockerfiles for production and test environments based on architecture (amd64, arm64). - Created base, production, and test Dockerfile templates to streamline Dockerfile creation. - Centralized version management with a new versions.yaml file for easier updates of dependencies and mirrors. - Removed legacy Dockerfiles for amd64 and arm64 in favor of generated templates. --- <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 09:19:48 -05:00
yindo closed this issue 2026-02-16 09:19:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-sandbox#191