-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Bundler 1.14.x fails on read only docker root #5371
Comments
Why isn't your users home directory writable either? Writing to the tmpdir is only a fallback in that case |
This is in a docker container launched with the |
Ah so in that case bundler should ignore that exception when it's fetching the global config |
Yeah. Dependencies should already be installed/configured when the container itself is built so it shouldn't need any tmp space. |
I think it's this change. Before, bundler would call into The change added in the referenced PR changes it so that In particular this discussion seems relevant and is likely why @indirect was bring up the issue. I think we could solve this by removing this line entirely, but I have no idea how easy that is going to be to test. |
#5421 is another option to fix this |
…indirect Don't read global settings on a read-only FS with no $HOME Closes rubygems/bundler#5371 This is an alternative to rubygems/bundler#5385
We run our production rails apps with the
--read-only
flag when launching our containers, but bundler 1.14.0 broke the ability to run without a r/w temp space. It looks like the source of this came with this PR: #4951Is this an intended side effect?
The text was updated successfully, but these errors were encountered: