mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-06 21:37:56 +08:00
[fix]
This commit is contained in:
parent
06869dcd2f
commit
40de2dbe4d
@ -9,9 +9,9 @@ mvn -Pnative -DskipTests clean package native:compile
|
|||||||
```shell
|
```shell
|
||||||
mvn spring-boot:build-image -Pnative
|
mvn spring-boot:build-image -Pnative
|
||||||
|
|
||||||
docker tag docker.io/library/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.0-JDK17-NATIVE-SNAPSHOT
|
docker tag docker.io/library/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-NATIVE-SNAPSHOT
|
||||||
|
|
||||||
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.0-JDK17-NATIVE-SNAPSHOT
|
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-NATIVE-SNAPSHOT
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -32,29 +32,29 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- <plugin>-->
|
<plugin>
|
||||||
<!-- <groupId>org.graalvm.buildtools</groupId>-->
|
<groupId>org.graalvm.buildtools</groupId>
|
||||||
<!-- <artifactId>native-maven-plugin</artifactId>-->
|
<artifactId>native-maven-plugin</artifactId>
|
||||||
<!-- <version>0.9.23</version>-->
|
<version>0.10.3</version>
|
||||||
<!-- <configuration>-->
|
<configuration>
|
||||||
<!-- <!– imageName用于设置生成的二进制文件名称 –>-->
|
<!-- imageName用于设置生成的二进制文件名称 -->
|
||||||
<!-- <imageName>${project.artifactId}</imageName>-->
|
<imageName>${project.artifactId}</imageName>
|
||||||
<!-- <!– mainClass用于指定main方法类路径 –>-->
|
<!-- mainClass用于指定main方法类路径 -->
|
||||||
<!-- <mainClass>org.framework.lazy.cloud.network.heartbeat.client.LazyCloudHeartbeatClientStart</mainClass>-->
|
<mainClass>org.framework.lazy.cloud.network.heartbeat.client.LazyCloudHeartbeatClientStart</mainClass>
|
||||||
<!-- <buildArgs>-->
|
<buildArgs>
|
||||||
<!-- --no-fallback-->
|
--no-fallback
|
||||||
<!-- </buildArgs>-->
|
</buildArgs>
|
||||||
<!-- </configuration>-->
|
</configuration>
|
||||||
<!-- <executions>-->
|
<executions>
|
||||||
<!-- <execution>-->
|
<execution>
|
||||||
<!-- <id>build-native</id>-->
|
<id>build-native</id>
|
||||||
<!-- <goals>-->
|
<goals>
|
||||||
<!-- <goal>compile-no-fork</goal>-->
|
<goal>compile-no-fork</goal>
|
||||||
<!-- </goals>-->
|
</goals>
|
||||||
<!-- <phase>package</phase>-->
|
<phase>package</phase>
|
||||||
<!-- </execution>-->
|
</execution>
|
||||||
<!-- </executions>-->
|
</executions>
|
||||||
<!-- </plugin>-->
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
@ -32,6 +32,29 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.graalvm.buildtools</groupId>
|
||||||
|
<artifactId>native-maven-plugin</artifactId>
|
||||||
|
<version>0.10.3</version>
|
||||||
|
<configuration>
|
||||||
|
<!-- imageName用于设置生成的二进制文件名称 -->
|
||||||
|
<imageName>${project.artifactId}</imageName>
|
||||||
|
<!-- mainClass用于指定main方法类路径 -->
|
||||||
|
<mainClass>org.framework.lazy.cloud.network.heartbeat.server.LazyCloudHeartbeatServerStart</mainClass>
|
||||||
|
<buildArgs>
|
||||||
|
--no-fallback
|
||||||
|
</buildArgs>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>build-native</id>
|
||||||
|
<goals>
|
||||||
|
<goal>compile-no-fork</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>package</phase>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user