kopia lustrzana https://github.com/jupyterhub/repo2docker
fix: add missing arguments to DockerBuildPack build function
rodzic
379248f325
commit
947b0737e9
|
@ -4,7 +4,7 @@ import os
|
||||||
|
|
||||||
import docker
|
import docker
|
||||||
|
|
||||||
from .base import BuildPack
|
from .base import BuildPack, ExcludesStrategy
|
||||||
|
|
||||||
|
|
||||||
class DockerBuildPack(BuildPack):
|
class DockerBuildPack(BuildPack):
|
||||||
|
@ -31,6 +31,8 @@ class DockerBuildPack(BuildPack):
|
||||||
cache_from,
|
cache_from,
|
||||||
extra_build_kwargs,
|
extra_build_kwargs,
|
||||||
platform=None,
|
platform=None,
|
||||||
|
extra_ignore_file=None,
|
||||||
|
ignore_file_strategy=ExcludesStrategy.THEIRS,
|
||||||
):
|
):
|
||||||
"""Build a Docker image based on the Dockerfile in the source repo."""
|
"""Build a Docker image based on the Dockerfile in the source repo."""
|
||||||
# If you work on this bit of code check the corresponding code in
|
# If you work on this bit of code check the corresponding code in
|
||||||
|
|
Ładowanie…
Reference in New Issue