-
-
Notifications
You must be signed in to change notification settings - Fork 905
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
Compilation of packaged libxml2 fails when installing nokogiri-1.6.8 to a mounted volume in docker #1510
Comments
brew install libxml2 same issue |
Can you please provide enough details to reproduce this, please? The docker image you are using would be the best start, but I'd also like On Oct 2, 2016 6:55 PM, "Yuri S." [email protected] wrote:
|
Ah, I see OP has info. Not sure why this is a Nokogiri bug, though. Help me understand the rationale of filing it here? |
I've gotten Nokogiri to build just fine using the docker image I'd really suggest you take a look at other reasons this might be failing; or else provide a bit more information about why you feel this is a Nokogiri bug. Also, if you care about Alpine support, please consider sending a PR to the installation tutorial: https://github.com/sparklemotion/nokogiri.org-tutorials |
@flavorjones This might not necessarily be a nokogiri bug but I thought someone here would have a better idea about why it's failing. Like I mentioned in the first post, nokogiri compiles fine unless the bundle target is a mounted volume (and you don't even need a lot of packages for that). The issue is when trying to install with bundler target on a mounted volume as in the dockerfile attached; specifically, this bit: Can you please try that and let me know what you make of the error log? |
@TMaYaD in the past we've seen issues with overlyfs in docker containers. In particular, check out the sequence of #1370 → #1405 → moby/moby#19082. I'm not sure what I can do to help here. |
@TMaYaD were you able to figure this out? i'm getting the same error as you describe all of a sudden. i've been using mounted volumes fine till now until i needed nokogiri. please help! |
@jaequery I'm sorry you're having issues, but unfortunately this issue is closed. Please open a new issue and provide the debugging information requested in the issue template. Thank you! |
If I don't mount the volume, this works fine. But I want to cache the bundle between builds.
Host is OS X. I'm guessing the issue could be either some code searching for some config or file till root of the file system, or user/group mismatch between the running user and mounted volume.
$
ls -la /srv/app/vendor/bundle
Dockerfile
/usr/local/bundle/extensions/x86_64-linux/2.3.0-static/nokogiri-1.6.8/gem_make.out
/usr/local/bundle/extensions/x86_64-linux/2.3.0-static/nokogiri-1.6.8/mkmf.log
The text was updated successfully, but these errors were encountered: