|
293 | 293 | <buildArg>--no-fallback</buildArg> |
294 | 294 | <buildArg>--allow-incomplete-classpath</buildArg> |
295 | 295 | <buildArg>-march=compatibility</buildArg> |
| 296 | + <buildArg>--static</buildArg> |
| 297 | + <buildArg>--libc=musl</buildArg> |
296 | 298 | </buildArgs> |
297 | 299 | </configuration> |
298 | 300 | </plugin> |
299 | | - <plugin> |
300 | | - <groupId>com.google.cloud.tools</groupId> |
301 | | - <artifactId>jib-maven-plugin</artifactId> |
302 | | - <version>3.4.6</version> |
303 | | - <dependencies> |
304 | | - <dependency> |
305 | | - <groupId>com.google.cloud.tools</groupId> |
306 | | - <artifactId>jib-native-image-extension-maven</artifactId> |
307 | | - <version>0.1.0</version> |
308 | | - </dependency> |
309 | | - </dependencies> |
310 | | - <executions> |
311 | | - <execution> |
312 | | - <phase>package</phase> |
313 | | - <goals> |
314 | | - <goal>build</goal> |
315 | | - </goals> |
316 | | - </execution> |
317 | | - </executions> |
318 | | - <configuration> |
319 | | - <from> |
320 | | - <image>redhat/ubi10-micro:10.0</image> |
321 | | - </from> |
322 | | - <to> |
323 | | - <image>docker.io/rbygrave/ebean-insight</image> |
324 | | - <tags>${project.version}</tags> |
325 | | -<!-- <auth>--> |
326 | | -<!-- <username>${env.DOCKER_USERNAME}</username>--> |
327 | | -<!-- <password>${env.DOCKER_PASSWORD}</password>--> |
328 | | -<!-- </auth>--> |
329 | | - </to> |
330 | | - <container> |
331 | | - <ports>8081</ports> |
332 | | - </container> |
333 | | - <pluginExtensions> |
334 | | - <pluginExtension> |
335 | | - <implementation>com.google.cloud.tools.jib.maven.extension.nativeimage.JibNativeImageExtension</implementation> |
336 | | - <properties> |
337 | | - <imageName>ebean-insight</imageName> |
338 | | - </properties> |
339 | | - </pluginExtension> |
340 | | - </pluginExtensions> |
341 | | - </configuration> |
342 | | - </plugin> |
| 301 | +<!-- <plugin>--> |
| 302 | +<!-- <groupId>com.google.cloud.tools</groupId>--> |
| 303 | +<!-- <artifactId>jib-maven-plugin</artifactId>--> |
| 304 | +<!-- <version>3.4.6</version>--> |
| 305 | +<!-- <dependencies>--> |
| 306 | +<!-- <dependency>--> |
| 307 | +<!-- <groupId>com.google.cloud.tools</groupId>--> |
| 308 | +<!-- <artifactId>jib-native-image-extension-maven</artifactId>--> |
| 309 | +<!-- <version>0.1.0</version>--> |
| 310 | +<!-- </dependency>--> |
| 311 | +<!-- </dependencies>--> |
| 312 | +<!-- <executions>--> |
| 313 | +<!-- <execution>--> |
| 314 | +<!-- <phase>package</phase>--> |
| 315 | +<!-- <goals>--> |
| 316 | +<!-- <goal>build</goal>--> |
| 317 | +<!-- </goals>--> |
| 318 | +<!-- </execution>--> |
| 319 | +<!-- </executions>--> |
| 320 | +<!-- <configuration>--> |
| 321 | +<!-- <from>--> |
| 322 | +<!-- <image>redhat/ubi10-micro:10.0</image>--> |
| 323 | +<!-- </from>--> |
| 324 | +<!-- <to>--> |
| 325 | +<!-- <image>docker.io/rbygrave/ebean-insight</image>--> |
| 326 | +<!-- <tags>${project.version}</tags>--> |
| 327 | +<!-- </to>--> |
| 328 | +<!-- <container>--> |
| 329 | +<!-- <ports>8081</ports>--> |
| 330 | +<!-- </container>--> |
| 331 | +<!-- <pluginExtensions>--> |
| 332 | +<!-- <pluginExtension>--> |
| 333 | +<!-- <implementation>com.google.cloud.tools.jib.maven.extension.nativeimage.JibNativeImageExtension</implementation>--> |
| 334 | +<!-- <properties>--> |
| 335 | +<!-- <imageName>ebean-insight</imageName>--> |
| 336 | +<!-- </properties>--> |
| 337 | +<!-- </pluginExtension>--> |
| 338 | +<!-- </pluginExtensions>--> |
| 339 | +<!-- </configuration>--> |
| 340 | +<!-- </plugin>--> |
343 | 341 | </plugins> |
344 | 342 | </build> |
345 | 343 | </profile> |
|
0 commit comments