podman:containerfile
Full name:
org.honton.chas:podman-maven-plugin:0.0.5:containerfile
Description:
Create a Containerfile.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase:
prepare-package
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<from> |
String |
- |
Base image for subsequent instructions |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<cmd> |
ShellOrExecConfig |
- |
Default command / parameters for the executing container |
<entrypoint> |
ShellOrExecConfig |
- |
Command that the container executes |
<env> |
Map<String,String> |
- |
Map of environment variables that are set when container runs |
<expose> |
List<String> |
- |
List of ports that the container will expose |
<labels> |
Map<String,String> |
- |
Label to be applied to image |
<layers> |
List<LayerConfig> |
- |
File layers to copy from the context into the image file system |
<user> |
String |
- |
The User[:Group] that runs inside the container. May be uid or name. |
<volumes> |
List<String> |
- |
List of locations in the image filesystem where external mounts are expected |
<workdir> |
String |
- |
Working directory for the container's process |
Parameter Details
<cmd>
Default command / parameters for the executing container
- Type:
ShellOrExecConfig
- Required:
No
<entrypoint>
Command that the container executes
- Type:
ShellOrExecConfig
- Required:
No
<env>
Map of environment variables that are set when container runs
- Type:
Map<String, String>
- Required:
No
<expose>
List of ports that the container will expose
- Type:
List<String>
- Required:
No
<from>
Base image for subsequent instructions
- Type:
String
- Required:
Yes
<labels>
Label to be applied to image
- Type:
Map<String, String>
- Required:
No
<layers>
File layers to copy from the context into the image file system
- Type:
List<LayerConfig>
- Required:
No
<user>
The User[:Group] that runs inside the container. May be uid or name.
- Type:
String
- Required:
No
<volumes>
List of locations in the image filesystem where external mounts are expected
- Type:
List<String>
- Required:
No
<workdir>
Working directory for the container's process
- Type:
String
- Required:
No