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?
Currently the ENTRYPOINT and CMD entries in the base image look like the following:
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?