String shell
List<E> exec
List<E> execInlined
<cmd>
<arg>echo</arg>
<arg>Hello, world!</arg>
</cmd>
from the full one
<cmd>
<exec>
<arg>echo</arg>
<arg>Hello, world!</arg>
</exec>
</cmd>
and throw a validation error if both specified.String name
If an external Dockerfile is used then this name is also the relative directory which contains the assembly files.
String targetDir
The default value for this is /<assembly name>, so /maven if name is not set
to a different value.
Boolean exportTargetDir
boolean excludeFinalOutputArtifact
AssemblyConfiguration.PermissionMode permissions
AssemblyMode mode
String user
It has the general format user[:group[:run-user]]. The user and group can be given either as numeric user and group-id or as names. The group id is optional.
If a third part is given, then the build changes to user root before changing the ownerships, changes the ownerships and then change to user run-user which is then used for the final command to execute.
String tarLongFileMode
Valid values are: "warn"(default), "fail", "truncate", "gnu", "posix", "posix_warn" or "omit".
Assembly inline
AssemblyConfiguration.layers insteadList<E> layers
Assembly for the Container Image.boolean flattened
true if this image has been flattened (AssemblyConfiguration.getFlattenedClone(JKubeConfiguration)), false otherwise
File source
File outputDirectory
String destName
String fileMode
Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1.
For example, the value 0644 translates to User read-write, Group and Other read-only.
File directory
File outputDirectory
List<E> includes
If none is present, then everything is included.
Files can be referenced by using their complete path name.
Wildcards are also supported, patterns will be matched using
FileSystem.getPathMatcher(String) glob syntax.
e.g. **/*.txt will match any file with a txt extension in any directory.
List<E> excludes
If none is present, then there are no exclusions.
String fileMode
Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1.
For example, the value 0644 translates to User read-write, Group and Other read-only.
The default value is 0644
String directoryMode
Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1.
For example, the value 0755 translates to User read-write, Group and Other read-only.
The default value is 0755
String name
String groupId
String artifactId
String version
File outputDirectory
File baseDirectory
File buildDirectory
File buildPackageDirectory
target in case of Maven and build/libs in case of Gradle.
This directory is used by generators and other build related tools to locate the files and packages to be included in the Container Image.
Please note that it's different from buildDirectory or outputDirectory which may point to directory used by build tool or generated classes.
Properties properties
List<E> compileClassPathElements
List<E> dependencies
List<E> dependenciesWithTransitive
List<E> plugins
List<E> gradlePlugins
String site
String description
String organizationName
String documentationUrl
LocalDate buildDate
String buildFinalName
(e.g. The default value for Maven is ${artifactId}-${version}).
File artifact
String packaging
(e.g. war, jar, ear...)
String issueManagementSystem
String issueManagementUrl
String url
String scmUrl
String scmTag
List<E> maintainers
JavaProject project
String sourceDirectory
String outputDirectory
Map<K,V> buildArgs
RegistryConfig registryConfig
List<E> reactorProjects
Copyright © 2024. All rights reserved.