public class Dockerfile extends Object
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<String> |
getCmd() |
String |
getCmdShell() |
com.google.common.collect.ImmutableMap<Integer,String> |
getExpose() |
String |
getFrom() |
com.google.common.collect.ImmutableMap<String,String> |
getLabels() |
com.google.common.collect.ImmutableList<String> |
getRunLines() |
static Dockerfile |
parse(File file)
Like docker build
|
static Dockerfile |
parse(String content)
Like docker build
|
static Dockerfile |
parseStrict(File file) |
static Dockerfile |
parseStrict(String content) |
public String getFrom()
public String getCmdShell()
public com.google.common.collect.ImmutableList<String> getCmd()
public com.google.common.collect.ImmutableList<String> getRunLines()
public static Dockerfile parse(String content)
public static Dockerfile parse(File file)
public static Dockerfile parseStrict(String content)
public static Dockerfile parseStrict(File file)
Copyright © 2018. All rights reserved.