podman:build
Full name:
org.honton.chas:podman-maven-plugin:0.0.5:build
Description:
Create a container image from the Containerfile directions and files from context
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase:
package.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<containerfile> |
String |
- |
Build instruction file, relative to contextDir Default value is: Containerfile. |
<contextDir> |
File |
- |
Directory containing source content for build Default value is: ${project.build.directory}/contextDir. |
<image> |
String |
- |
The image name |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<buildArguments> |
Map<String,String> |
- |
Map of build arguments |
<connection> |
String |
- |
Remote podman connection name |
<loadDockerCache> |
boolean |
- |
Load resulting image into docker image cache Default value is: false. |
<platforms> |
List<String> |
- |
The os/arch of the built image(s) |
<skip> |
boolean |
- |
Skip upgrade Default value is: false.User property is: podman.skip. |
<url> |
String |
- |
Url of podman remote service |
Parameter Details
<buildArguments>
Map of build arguments
- Type:
Map<String, String> - Required:
No
<connection>
Remote podman connection name
- Type:
String - Required:
No
<containerfile>
Build instruction file, relative to contextDir
- Type:
String - Required:
Yes - Default:
Containerfile
<contextDir>
Directory containing source content for build
- Type:
java.io.File - Required:
Yes - Default:
${project.build.directory}/contextDir
<image>
The image name
- Type:
String - Required:
Yes
<loadDockerCache>
Load resulting image into docker image cache
- Type:
boolean - Required:
No - Default:
false
<platforms>
The os/arch of the built image(s)
- Type:
List<String> - Required:
No
<skip>
Skip upgrade
- Type:
boolean - Required:
No - User Property:
podman.skip - Default:
false
<url>
Url of podman remote service
- Type:
String - Required:
No
