Skip to content

CMD includes prepare and dask-scheduler #4

@mrocklin

Description

@mrocklin

Currently the ENTRYPOINT and CMD entries in the base image look like the following:

ENTRYPOINT ["/usr/local/bin/dumb-init", "--"] 
CMD ["bash", "-c", "/usr/bin/prepare.sh && exec dask-scheduler"]

Often we use this image also for the dask-worker process, and replace the command with dask-worker. My understanding is that this will stop the prepare script from running properly. Is my understanding correct? If so then is there a clean way to move some of the arguments in the CMD line up to ENTRYPOINT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions