Add support for security options in CNB builder container config

Closes gh-37479
This commit is contained in:
Scott Frederick
2023-09-20 13:30:20 -05:00
parent 4433fcd1f2
commit 7de770f6a1
15 changed files with 273 additions and 21 deletions

View File

@@ -79,6 +79,8 @@ public class Image {
String applicationDirectory;
List<String> securityOptions;
/**
* The name of the created image.
* @return the image name
@@ -260,6 +262,9 @@ public class Image {
if (StringUtils.hasText(this.applicationDirectory)) {
request = request.withApplicationDirectory(this.applicationDirectory);
}
if (this.securityOptions != null) {
request = request.withSecurityOptions(this.securityOptions);
}
return request;
}