-4

When building an ESPv2 docker image from cloud shell i am getting below error

-bash:./gcloud_build_image:/bin/bash^M:bad interpreter: No such file or directory

command executed:

chmod +x gcloud_build_image
./gcloud_build_image -s <hostname> \
-c <configid> -p <ProjectId>

i used the below reference link to create script file. https://github.com/GoogleCloudPlatform/esp-v2/blob/master/docker/serverless/gcloud_build_image

Any solution or guidance on this ?

ALAL
  • 1
  • 4
  • 1
    Please check again your `gcloud_build_image` file, I think it was caused by the file was not found. You can check again the deployment step here [Link](https://cloud.google.com/endpoints/docs/openapi/get-started-cloud-run) – Rudy Tri Saputra May 07 '21 at 09:42

0 Answers0