You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New user to repomix, and was testing with the docker image. It appears the application cannot run without write access to the source directory, even if the output file is specified to go elsewhere.
For example:
# mkdir /tmp/source
# echo hello > /tmp/source/world
# mkdir /tmp/out
# podman run -v /tmp/source:/app:ro -v /tmp/out:/out -t --rm ghcr.io/yamadashy/repomix -o /out/repomix
📦 Repomix v0.2.29
No custom config found at repomix.config.json or global config at /root/.config/repomix/repomix.config.json.
You can add a config file for additional settings. Please check https://github.com/yamadashy/repomix for more information.
✖ Error during packing
Unexpected error: Cannot access directory /app: undefined
For more help, please visit: https://github.com/yamadashy/repomix/issues
If you take the :ro flag off the volume mount it works, even though output has been redirected somewhere else. I'm not sure if it's trying to use the source directory as a temporary working directory or what. But IMHO it shouldn't be putting anything in it. Any temporary files should either go in the directory of the output file, $XDG_RUNTIME_DIR, or /tmp/.
Might also help if the error message would a little clearer. It took me a minute to figure out what the issue was, when the directory was there, readable, and not being used for output.
The text was updated successfully, but these errors were encountered:
New user to repomix, and was testing with the docker image. It appears the application cannot run without write access to the source directory, even if the output file is specified to go elsewhere.
For example:
If you take the
:ro
flag off the volume mount it works, even though output has been redirected somewhere else. I'm not sure if it's trying to use the source directory as a temporary working directory or what. But IMHO it shouldn't be putting anything in it. Any temporary files should either go in the directory of the output file,$XDG_RUNTIME_DIR
, or/tmp/
.Might also help if the error message would a little clearer. It took me a minute to figure out what the issue was, when the directory was there, readable, and not being used for output.
The text was updated successfully, but these errors were encountered: