LazyFish41 just making sure, you built a container from the docker file, and used it as base docker image for the Task, is that correct ?
Also notice the cleaml-agent will not change the entry point of the docker meaning if the entry point does not end with plain bash, it will not actually run anything
So, this is probably a really dumb idea, but can you addRUN source /root.bashrc
or perhaps set the entrypoint?