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

Add support for volumes #138

Open
Michael-F-Bryan opened this issue Jan 22, 2024 · 0 comments
Open

Add support for volumes #138

Michael-F-Bryan opened this issue Jan 22, 2024 · 0 comments

Comments

@Michael-F-Bryan
Copy link
Contributor

At the moment, wasmer-pack completely ignores volumes in the *.webc file you are generating code for. That means things like the python CLI won't work because they don't have access to the standard library.

To fix this, we need a couple things:

  • Copy the volume's contents into the generated package (maybe as a *.tar.gz file?)
  • Generate code that loads the volume file into a FileSystem object
  • Set up the generated code so this FileSystem is mounted into the WASI instance
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

No branches or pull requests

1 participant