mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
部署
This commit is contained in:
@@ -10,8 +10,8 @@ sudo /usr/local/bin/k3s-uninstall.sh
|
||||
|
||||
## k3s部署流程
|
||||
1. 设置打包环境
|
||||
set GOOS=linux
|
||||
set GOARCH=amd64
|
||||
go env -w GOOS=linux
|
||||
go env -w GOARCH=amd64
|
||||
2. 构建Linux执行命令
|
||||
go build -o pandax .
|
||||
4. 构建docker镜像 (修改版本号 xmadmin/pandax:v1.0)
|
||||
|
||||
Reference in New Issue
Block a user