1
0

fix: 更新Docker构建脚本和Dockerfile

This commit is contained in:
TsMask
2025-05-15 21:41:07 +08:00
parent 16189c51fa
commit ffe9c4c498
3 changed files with 28 additions and 48 deletions

View File

@@ -11,7 +11,7 @@ BuildDir=/root/omc.git/build.ems
BuildBranch=main
BuildTmpDir=/root/omc.git/build.ems/tmp
# Default Version Value
VERSION="2.2503.2"
VERSION="2.2505.2"
# usage
usage() {
@@ -34,6 +34,7 @@ while [[ $# -gt 0 ]]; do
*) usage ;;
esac
done
# clear tmp dir
rm -rf ${BuildTmpDir} && mkdir -p ${BuildTmpDir}
# =================== Web
@@ -100,5 +101,3 @@ bash $BuildDir/build-docker.sh --version $VERSION --platform linux/amd64 --syste
# Compile the front-end and back-end and then package the version
# bash pkg-docker.sh -webBranch main -apiBranch main -v 2.2503.2
# bash pkg-docker.sh -v 2.2503.2
bash /root/omc.git/build.ems/build-docker.sh --version 2.2505.2 --platform linux/amd64 --system ubuntu22.04