modify cdap.sh so there is only version of it (detecting docker environment)