public class DockerFileUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
extractBaseImage(File dockerfile)
Extract the base image from a dockerfile.
|
public static String extractBaseImage(File dockerfile) throws IOException
FROM is
taken.dockerfile - file from where to extract the base imagenull if none is found.IOExceptionCopyright © 2016. All Rights Reserved.