Skip to content
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

[3.0] Use debian jessie to prevent segfault with wheezy #131

Closed
wants to merge 1 commit into from
Closed

[3.0] Use debian jessie to prevent segfault with wheezy #131

wants to merge 1 commit into from

Conversation

lovenunu
Copy link

@lovenunu lovenunu commented Jan 3, 2017

Hi, I was trying to build this Dockerfile of 3.0 but got a segfault on Step 2 (RUN groupadd -r mongodb && useradd -r -g mongodb mongodb) with docker 1.12.5, on a debian 8.6 host.

Upgrading the Dockerfile to use debian:jessie prevents this error (at least for me).

When building current Dockerfile with docker 1.12.5, there's a segfault on step 2.
Using debian jessie instead of wheezy prevents this bug.
@lovenunu lovenunu changed the title [3.0] Use debian jessie to prevent segault with wheezy [3.0] Use debian jessie to prevent segfault with wheezy Jan 3, 2017
@yosifkit
Copy link
Member

yosifkit commented Jan 4, 2017

That could cause breakage since the MongoDB 3.0 apt package is only available for wheezy: http://repo.mongodb.org/apt/debian/dists/jessie/mongodb-org/ and http://repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/.

The root of the problem is moby/moby#28705; see also tianon/docker-brew-debian#55.

@lovenunu
Copy link
Author

lovenunu commented Jan 4, 2017

Well, it seems that's a problem with debian's 4.8 kernel in fact. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants