Fix legacydockerbuilder to also take args
@@ -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:
