demo01/readme.txt

16 lines
775 B
Plaintext
Raw Normal View History

2023-10-29 19:48:16 +08:00
./mvnw.cmd clean install -Pjib -Dmaven.test.skip=true
./mvnw.cmd clean spring-boot:build-image -Dmaven.test.skip=true
2023-10-19 06:27:28 +08:00
./mvnw.cmd clean spring-boot:build-image -Pnative -Dmaven.test.skip=true
2023-10-17 19:48:45 +08:00
docker image ls
2023-10-29 19:48:16 +08:00
docker run --name demo01-jib --net y9-share-net -ti -p 7055:7055 svn.youshengyun.com:9924/demo01-jib:1.0
docker run --name demo01-jvm --net y9-share-net -ti -p 17055:7055 svn.youshengyun.com:9924/demo01-jvm:1.0
docker run --name demo01-native --net y9-share-net -ti -p 27055:7055 svn.youshengyun.com:9924/demo01-native:1.0
2023-10-17 19:48:45 +08:00
2023-10-29 19:48:16 +08:00
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
2023-10-17 19:48:45 +08:00
2023-10-19 06:27:28 +08:00
#最好在x64 Native Tools Command Prompt for VS 2022中打开
./mvnw.cmd native:compile -Pnative