-
Notifications
You must be signed in to change notification settings - Fork 6
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
Create a bypass for hardcoded rails tmp folder #185
Comments
The docker volume functionality is described here: |
I am afraid Rails support reuires a 'real' filesystem. 'Real' here means a file system which is accessible by other processes. If we 'embed' OverlayFS in a way we do it with DwarFS it won't be accesiible from other processes. So even with docker-style volumes they have to link to a filesystem that is mounted by the operating system. It can be OverlayFS, of course. |
In this case, it can only be a directory created inside the system $TMPDIR? i.e. it is not a self-contained working directory. |
As far as I understand Rails have 'tmp' and 'cache' This issue did not exist in the ruby-packer times. I see three possible approaches to it:
Methods 1,2 will take a week |
There is one argument for approach 3 |
I agree with 3. |
Rails has hardcoded path to tmp folder as described in rails/rails#39583
If tebako is used this path is within memfs, is readonly and cannot be used for temporarily files
We either patch it tebako-runtime or implement a feature similar to docker volume.
The text was updated successfully, but these errors were encountered: