feat: 工具配置 Ubuntu 化 + nvm 管理 Node 版本
- 工具目录重写为 Ubuntu 构建环境导向(7 项),每项带安装命令提示 (apt/nvm,未安装时一键复制) - 新增 nvm 工具条目(真实检测,本机验证 0.40.6);Node.js 改为 nvm 管理:默认版本可调,构建时通过 nvm install $NODE_VERSION 灵活指定版本 - DeployTool 新增 installHint 字段(模型/更新白名单/seed) - 新增 deploy/Dockerfile.buildnode:Ubuntu 22.04 + JDK17/Maven/Git/ Docker CLI/Golang + nvm 默认 Node(--build-arg NODE_VERSION 可改) - 工具页顶部说明条更新构建环境建议
This commit is contained in:
1 parent
d9d1dd5e99
commit
6841c1104a
6 files changed
+79
-22
No files matched your search
@@ -225,6 +225,7 @@ type DeployTool struct {
|
||||
InstallMode string `gorm:"default:lazy" json:"installMode"` // preinstalled|lazy|disabled
|
||||
Path string `json:"path"`
|
||||
CheckCommand string `gorm:"type:text" json:"checkCommand"` // 真实版本探测命令
|
||||
InstallHint string `gorm:"type:text" json:"installHint"` // 安装命令提示(Ubuntu apt / nvm)
|
||||
Enabled bool `gorm:"default:true" json:"enabled"`
|
||||
LastCheck *time.Time `json:"lastCheck"`
|
||||
ErrorMsg string `json:"errorMsg"`
|
||||
|
||||
Reference in new issue
Block a user