在完成构build之前构build发现已死亡的容器。 构build容器因为内存不足而死亡,或者Docker镜像缺lessglibc

我正在尝试在AWS中进行一些基本的Python Seleniumtesting。 我的想法是让CodeBuild运行它们,然后部署…很基本,对吧?

不过,使用aws/codebuild/python:2.7.12等AWS提供的映像,xvfb遇到了很多问题aws/codebuild/python:2.7.12

所以我决定使用一个Docker镜像,Selenium上的好人做的: https : //github.com/SeleniumHQ/docker-selenium/tree/master/StandaloneFirefox

我遇到了题目中的问题,我相当肯定这不是因为内存太less(我试过3GB和7GB)。

我也试过扩展Selenium docker文件以确保glibc安装完成:

 FROM selenium/standalone-firefox:latest RUN sudo apt-get -y update && sudo apt-get install -y build-essential 

任何想法的问题是?