16 lines
775 B
Plaintext
16 lines
775 B
Plaintext
./mvnw.cmd clean install -Pjib -Dmaven.test.skip=true
|
|
./mvnw.cmd clean spring-boot:build-image -Dmaven.test.skip=true
|
|
./mvnw.cmd clean spring-boot:build-image -Pnative -Dmaven.test.skip=true
|
|
|
|
docker image ls
|
|
|
|
docker run --name demo01-jib --net y9-share-net -ti -p 7055:7055 svn.youshengyun.com:9923/demo01-jib:1.0
|
|
docker run --name demo01-jvm --net y9-share-net -ti -p 17055:7055 svn.youshengyun.com:9923/demo01-jvm:1.0
|
|
docker run --name demo01-native --net y9-share-net -ti -p 27055:7055 svn.youshengyun.com:9923/demo01-native:1.0
|
|
|
|
docker compose -f compose-demo01-jib.yml up -d
|
|
docker compose -f compose-demo01-jvm.yml up -d
|
|
docker compose -f compose-demo01-native.yml up -d
|
|
|
|
#最好在x64 Native Tools Command Prompt for VS 2022中打开
|
|
./mvnw.cmd native:compile -Pnative |