kopia lustrzana https://github.com/jupyterhub/repo2docker
Add explicit support for labels build parameter
rodzic
00769c0fb2
commit
cf8f3b9195
|
@ -73,6 +73,7 @@ class DockerEngine(ContainerEngine):
|
|||
dockerfile="",
|
||||
fileobj=None,
|
||||
path="",
|
||||
labels=None,
|
||||
**kwargs,
|
||||
):
|
||||
return self._apiclient.build(
|
||||
|
@ -87,6 +88,7 @@ class DockerEngine(ContainerEngine):
|
|||
dockerfile=dockerfile,
|
||||
fileobj=fileobj,
|
||||
path=path,
|
||||
labels=labels,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
|
|
|
@ -176,6 +176,7 @@ class ContainerEngine(LoggingConfigurable):
|
|||
dockerfile="",
|
||||
fileobj=None,
|
||||
path="",
|
||||
labels=None,
|
||||
**kwargs,
|
||||
):
|
||||
"""
|
||||
|
@ -204,6 +205,8 @@ class ContainerEngine(LoggingConfigurable):
|
|||
A tar file-like object containing the build context
|
||||
path : str
|
||||
path to the Dockerfile
|
||||
labels : dict
|
||||
Dictionary of labels to set on the image
|
||||
|
||||
Returns
|
||||
-------
|
||||
|
|
Ładowanie…
Reference in New Issue