Go to file
dzj a927389e03 compose 2023-10-30 10:07:50 +08:00
.mvn/wrapper native compile 2023-10-19 06:27:28 +08:00
src/main update compose 2023-10-29 19:48:16 +08:00
.gitattributes 第一次提交 2023-08-14 09:19:43 +08:00
.gitignore 第一次提交 2023-08-14 09:19:43 +08:00
compose-demo01-jib.yml compose 2023-10-30 10:07:50 +08:00
compose-demo01-jvm.yml compose 2023-10-30 10:07:50 +08:00
compose-demo01-native.yml compose 2023-10-30 10:07:50 +08:00
compose.yml update compose 2023-10-25 10:22:58 +08:00
mvnw native compile 2023-10-19 06:27:28 +08:00
mvnw.cmd native compile 2023-10-19 06:27:28 +08:00
pom.xml update compose 2023-10-29 19:48:16 +08:00
readme.txt compose 2023-10-30 10:07:50 +08:00

readme.txt

./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