Docker-Compose构build在Google App Engine上失败

我试图让我的后端在Google App引擎上运行,但是我遇到了一些安装问题。

我的后端使用Docker和Docker-compose来安装一切,并在运行时

docker-compose build 

它会开始运行,然后停在

 npm info git [ 'submodule', '-q', 'update', '--init', '--recursive' ] 

与错误

 npm ERR! git submodule -q update --init --recursive: fatal: unable to connect to github.com: npm ERR! git submodule -q update --init --recursive: github.com[0: 192.30.253.112]: errno=Connection timed out npm ERR! git submodule -q update --init --recursive: npm ERR! git submodule -q update --init --recursive: Clone of 'git://github.com/editorconfig/editorconfig-core-test.git' into submodule path 'tests' failed npm ERR! git submodule -q update --init --recursive: npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12 npm ERR! Linux 3.16.0-4-amd64 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v5.12.0 npm ERR! npm v3.8.6 npm ERR! code 1 npm ERR! Command failed: git submodule -q update --init --recursive npm ERR! fatal: unable to connect to github.com: npm ERR! github.com[0: 192.30.253.112]: errno=Connection timed out npm ERR! npm ERR! Clone of 'git://github.com/editorconfig/editorconfig-core-test.git' into submodule path 'tests' failed npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! /tmp/npm-debug.log ERROR: Service 'Gworker' failed to build: The command '/bin/sh -c cd /tmp && npm install' returned a non-zero code: 1 

但是这在我的本地系统上正常工作。 接下来的问题是,我甚至应该使用Google App Engine来做这件事情,或者使用Container Engine或Compute Engine来做更好的事情。