修改 docker 构建,添加构建脚本和说明#2
Merged
Merged
Conversation
- 更新.dockerignore保留js/themes-vendor/target文件 - 优化Dockerfile构建流程,增加内存限制和错误处理 - 更新BUILD_GUIDE.md添加JDK21构建方案 - 修复template.ftl中script标签位置 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- 将SSO登录脚本地址从内网IP更改为域名地址 - 修改 http://10.2.128.9:8081/sso-login.js 为 //testchat.ppm.cn:62020/chat/public/sso-login.js 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- 新增 push-image.sh:自动推送本地镜像到Docker Hub的脚本 - 支持自定义用户名和标签 - 包含完整的错误检查和用户提示 - 支持模拟运行模式(--dry-run) - 彩色输出和详细使用说明 - 更新 BUILD_GUIDE.md: - 明确区分Dockerfile和Dockerfile.custom的使用场景 - 优化构建步骤说明,标注Maven构建可能报错但不影响vendor文件生成 - 改进文档结构和可读性 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
移除冗余文件: - 删除 Dockerfile.amd64 和 build-amd64.sh(AMD64专用文件) - 重命名 Dockerfile.universal -> Dockerfile.multi - 重命名 build-universal.sh -> build.sh 新增核心文件: - Dockerfile.multi:通用多平台Dockerfile,支持ARM64和AMD64 - build.sh:智能构建脚本,自动平台检测和错误处理 更新文档: - 更新 BUILD_GUIDE.md:突出推荐通用多平台构建方案 - 更新 push-image.sh:增强多平台支持 现在只需一个 build.sh --auto 命令即可构建服务器兼容的镜像 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
新增内容: - 🎯 完整工作流程(从零开始):包含环境检查、JDK设置、Maven构建、Docker构建完整步骤 - 📋 日常开发流程:修改theme后的快速重建流程 - 🚀 多平台构建说明:ARM64本地测试和AMD64服务器部署 -⚠️ 重要提醒和注意事项:必须先执行的步骤和平台选择 - 🔧 常见错误和解决方案:exec format error、vendor文件缺失等问题 - 📝 文件用途快速参考表:每个文件的作用和使用场景 现在文档包含了完整的操作指南,下次使用时可以直接按照步骤执行 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.