Skip to content

Commit

Permalink
Fix dask image build (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedingber committed Oct 26, 2020
1 parent 6d76aa3 commit 11d732b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mlrun/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,6 @@ def build_runtime(runtime, with_mlrun, interactive=False):
)
logger.info(f"building image ({build.image})")

if runtime.kind == "dask":
extra = 'ENTRYPOINT ["tini", "-g", "--", "/usr/bin/prepare.sh"]'
else:
extra = None

name = normalize_name("mlrun-build-{}".format(runtime.metadata.name))
base_image = enrich_image_url(build.base_image or "mlrun/mlrun")
if not build.base_image:
Expand All @@ -265,7 +260,6 @@ def build_runtime(runtime, with_mlrun, interactive=False):
secret_name=build.secret,
interactive=interactive,
name=name,
extra=extra,
with_mlrun=with_mlrun,
)
runtime.status.build_pod = None
Expand Down

0 comments on commit 11d732b

Please sign in to comment.