- 为build-docker.sh添加架构特定构建支持 (amd64/arm64) - 始终使用Docker Buildx确保跨平台构建的一致性 - 添加构建缓存支持,使用.buildx-cache目录 - 更新Dockerfile使用平台感知基础镜像 (FROM --platform=$TARGETPLATFORM) - 改进push-docker.sh以支持架构特定标签 - 为构建脚本添加帮助选项 (-h) - 使用更严格的错误处理 (set -euo pipefail) - 更新.gitignore排除构建缓存 现在支持构建: - Apple Silicon本地开发 (arm64) - Linux服务器部署 (amd64) - 从任意机器进行跨平台构建
55 lines
590 B
Plaintext
55 lines
590 B
Plaintext
# Compiled class file
|
|
*.class
|
|
|
|
# Log file
|
|
*.log
|
|
|
|
# BlueJ files
|
|
*.ctxt
|
|
|
|
# Mobile Tools for Java (J2ME)
|
|
.mtj.tmp/
|
|
|
|
# Package Files #
|
|
*.jar
|
|
*.war
|
|
*.nar
|
|
*.ear
|
|
*.zip
|
|
*.tar.gz
|
|
*.rar
|
|
|
|
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
|
hs_err_pid*
|
|
target
|
|
.idea
|
|
*.iml
|
|
nb-configuration.xml
|
|
nbactions.xml
|
|
.project
|
|
.settings
|
|
*/.settings
|
|
*/.project
|
|
.classpath
|
|
*/.idea
|
|
.idea/
|
|
.vscode/
|
|
.settings/
|
|
target/
|
|
ideaproj/
|
|
*/bin
|
|
.DS_Store
|
|
*.ipr
|
|
*.iws
|
|
bin/
|
|
nbproject/
|
|
.springBeans
|
|
/log/
|
|
/logs/
|
|
/storage/
|
|
/var/log/*
|
|
*.factorypath
|
|
/storage/
|
|
|
|
# Docker buildx cache
|
|
.buildx-cache/ |