0
我一直在試圖將bitbucket管道部署到Google雲端php應用。不過,我不斷收到失蹤蟒蛇可執行error.Here的劇本我還需要安裝谷歌雲SDK:如何在Google Cloud上爲我的PHP應用程序設置Bitbucket管道?
image: php:7.1.3
pipelines:
default:
- step:
caches:
- composer
script:
# Downloading the Google Cloud SDK
- curl -O -J https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-155.0.0-linux-x86_64.tar.gz
- tar -xvf google-cloud-sdk-155.0.0-linux-x86_64.tar.gz -C /tmp/
- /tmp/google-cloud-sdk/install.sh -q
- source /tmp/google-cloud-sdk/path.bash.inc
- gcloud -v
而得到的堅持了這個錯誤:
To use the Google Cloud SDK, you must have Python installed and on your PATH. As an alternative, you may also set the CLOUDSDK_PYTHON environment variable
到你的Python可執行文件的位置。
任何幫助將您使用的是PHP的圖像(Docker映像檔),這顯然不包括Python的理解