草庐IT

docker - 错误 : Build process returned exit code 137 during Docker build on Tutum

我在Tutum上设置了一个新的存储库,链接到Github存储库。该项目在我的本地机器上成功构建,但在4小时后在Tutum上失败并给我以下日志。Step27:ENTRYPOINT/www/run.sh--->Runningin666e1e87a660--->eeb9646f9317Removingintermediatecontainer666e1e87a660Successfullybuilteeb9646f9317Creatingbuilder1769_sut_1[ThuJan0717:42:45.6757892016][mpm_prefork:notice][pid8]AH0016

docker - 错误 : Build process returned exit code 137 during Docker build on Tutum

我在Tutum上设置了一个新的存储库,链接到Github存储库。该项目在我的本地机器上成功构建,但在4小时后在Tutum上失败并给我以下日志。Step27:ENTRYPOINT/www/run.sh--->Runningin666e1e87a660--->eeb9646f9317Removingintermediatecontainer666e1e87a660Successfullybuilteeb9646f9317Creatingbuilder1769_sut_1[ThuJan0717:42:45.6757892016][mpm_prefork:notice][pid8]AH0016

javascript - 如何在 Docker 构建上缓存 node_modules?

一段时间以来,我一直在尝试在Docker构建中缓存node_modules。我尝试了几种方法,包括一种here,但没有成功。我缓存的主要原因是因为构建我的图像需要30+分钟,这太多了。我的Dockerfile:#ThisimagewillbebasedontheoficialnodejsdockerimageFROMnode:4.2.1RUNnpminstall-gjspm@0.17.0-beta.7&&\npminstall-ggulp&&\npminstall-gtsd#Usechangestopackage.jsontoforceDockernottousethecache#wh

javascript - 如何在 Docker 构建上缓存 node_modules?

一段时间以来,我一直在尝试在Docker构建中缓存node_modules。我尝试了几种方法,包括一种here,但没有成功。我缓存的主要原因是因为构建我的图像需要30+分钟,这太多了。我的Dockerfile:#ThisimagewillbebasedontheoficialnodejsdockerimageFROMnode:4.2.1RUNnpminstall-gjspm@0.17.0-beta.7&&\npminstall-ggulp&&\npminstall-gtsd#Usechangestopackage.jsontoforceDockernottousethecache#wh