Fix legacydockerbuilder to also take args
MODIFY
repo2docker/buildpacks/legacy.py
repo2docker/buildpacks/legacy.py
@@ -31,10 +31,10 @@ class LegacyBinderDockerBuildPack(DockerBuildPack):
with open('Dockerfile') as f:
return f.read() + self.dockerfile_appendix
- def build(self, image_spec, memory_limit):
+ def build(self, image_spec, memory_limit, build_args):
with open(self.dockerfile, 'w') as f:
f.write(self.render())
- return super().build(image_spec, memory_limit)
+ return super().build(image_spec, memory_limit, build_args)
def detect(self):
try:

Fix legacydockerbuilder to also take args