/** * Configures the output tarball archive with an image reference. This image reference will be the * name of the image if loaded into the Docker daemon. * * @param imageReference the image reference * @return a {@link Builder} to finish constructing a new {@link TarImage} */ public static Builder named(ImageReference imageReference) { return new Builder(imageReference); }
public static PluginConfigurationProcessor processCommonConfigurationForTarImage( RawConfiguration rawConfiguration, InferredAuthProvider inferredAuthProvider, ProjectProperties projectProperties, Path tarImagePath, HelpfulSuggestions helpfulSuggestions) throws InvalidImageReferenceException, MainClassInferenceException, InvalidAppRootException, InferredAuthRetrievalException, IOException, InvalidWorkingDirectoryException, InvalidContainerVolumeException { ImageReference targetImageReference = getGeneratedTargetDockerTag(rawConfiguration, projectProperties, helpfulSuggestions); TarImage targetImage = TarImage.named(targetImageReference).saveTo(tarImagePath); Containerizer containerizer = Containerizer.to(targetImage); return processCommonConfiguration( rawConfiguration, inferredAuthProvider, projectProperties, containerizer, targetImageReference, false); }
public static PluginConfigurationProcessor processCommonConfigurationForTarImage( RawConfiguration rawConfiguration, InferredAuthProvider inferredAuthProvider, ProjectProperties projectProperties, Path tarImagePath, HelpfulSuggestions helpfulSuggestions) throws InvalidImageReferenceException, MainClassInferenceException, InvalidAppRootException, InferredAuthRetrievalException, IOException, InvalidWorkingDirectoryException, InvalidContainerVolumeException { ImageReference targetImageReference = getGeneratedTargetDockerTag(rawConfiguration, projectProperties, helpfulSuggestions); TarImage targetImage = TarImage.named(targetImageReference).saveTo(tarImagePath); Containerizer containerizer = Containerizer.to(targetImage); return processCommonConfiguration( rawConfiguration, inferredAuthProvider, projectProperties, containerizer, targetImageReference, false); }
/** * Configures the output tarball archive with an image reference. This image reference will be the * name of the image if loaded into the Docker daemon. * * @param imageReference the image reference * @return a {@link Builder} to finish constructing a new {@link TarImage} */ public static Builder named(ImageReference imageReference) { return new Builder(imageReference); }
/** * Configures the output tarball archive with an image reference. This image reference will be the * name of the image if loaded into the Docker daemon. * * @param imageReference the image reference * @return a {@link Builder} to finish constructing a new {@link TarImage} */ public static Builder named(ImageReference imageReference) { return new Builder(imageReference); }