Options for building Docker Images.
def google.appengine.tools.docker.containers.ImageOptions.__new__ |
( |
|
cls, |
|
|
|
dockerfile_dir = None , |
|
|
|
tag = None , |
|
|
|
nocache = False , |
|
|
|
rm = False |
|
) |
| |
This method is redefined to provide default values for namedtuple.
Args:
dockerfile_dir: str, Path to the directory with the Dockerfile. If it is
None, no build is needed. We will be looking for the existing image
with the specified tag and raise an error if it does not exist.
tag: str, Repository name (and optionally a tag) to be applied to the
image in case of successful build. If dockerfile_dir is None, tag
is used for lookup of an image.
nocache: boolean, True if cache should not be used when building the
image.
rm: boolean, True if intermediate images should be removed after a
successful build.
Returns:
ImageOptions object.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/docker/containers.py