Because curl is not installed in minimal docker images.

neither is bash or even sh for that matter :) if you have bash, you probably have apk or apt