New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose fails to build, error 137 #1153

kylegoetz opened this Issue Dec 11, 2018 · 1 comment


None yet
1 participant
Copy link

kylegoetz commented Dec 11, 2018

after git clone, I run docker-compose up -d and it begins to build as expected. But it errors out eventually and fails to build. Here's the tail of the output:

Collecting python-gflags==3.1.0 (from -r requirements.txt (line 45))
  Downloading (52kB)
Collecting pytz==2018.3 (from -r requirements.txt (line 46))
  Downloading (509kB)
Collecting raven==6.5.0 (from -r requirements.txt (line 47))
  Downloading (281kB)
Collecting redis==2.10.5 (from -r requirements.txt (line 48))
  Downloading (60kB)
Collecting requests==2.20.0 (from -r requirements.txt (line 49))
  Downloading (60kB)
Collecting scipy==0.18.1 (from -r requirements.txt (line 50))
  Downloading (40.3MB)
ERROR: Service 'newsblur' failed to build: The command '/bin/sh -c set -ex           && rundDeps='                   libpq5                   libjpeg62                   libxslt1.1                             '           && buildDeps='                     patch                     python-dev                     gfortran                     lib32ncurses5-dev                      libblas-dev                     libffi-dev                     libjpeg-dev                     default-libmysqlclient-dev                     libpq-dev                     libreadline6-dev                     liblapack-dev                     libxml2-dev                     libxslt1-dev                     ncurses-dev                     zlib1g-dev                             '             && apt-get update             && apt-get install -y $rundDeps $buildDeps --no-install-recommends             && pip install -r requirements.txt             && apt-get purge -y --auto-remove ${buildDeps}             && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 137

This comment has been minimized.

Copy link

kylegoetz commented Dec 11, 2018

Because the RUN is one long series of commands &&'ed together, I don't know where the 137 is coming from. I'm assuming in the pip install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment