Skip to content

[DOC update] Add some doc on how to add libraires to gVisor #30

@nekopep

Description

@nekopep

Description

Hi etienne, just a quick feedback on this fontastic tool :)
I managed to execute a ping command from my openweb-ui chat and also make it run a matplotlib code.

I think you should add some doc on these two use cases:

1/adding tools to gVisor context:
In the docker file add needed tools:
RUN apt-get install -y iputils-ping sudo
After that it works (if you enable network access in sandbox)
image

2/adding more python libs:
Strangely adding python3-xxx package did not worked as expected; your tool still didn't find the libs:
RUN apt-get install -y python3-numpy python3-matplotlib
but this works:
RUN pip install matplotlib numpy
Which is better by the way :)

Still I can't manage to get result from matplolib, I need to run proposed code to get an image, is this expected?
image

3/Any way to support venv? For example is it possible to prepare some venv and to propose to the tool to use this ot this venv?

Thanks!

General information

  • Open WebUI version: v0.3.32
  • Tool/function version: 0.8.0
  • Open WebUI setup:
    • Kernel information: 6.10.11+bpo-amd64
    • Runtime: doker-compose
    • If running in Docker:
      • Docker version: Docker version 27.3.1, build ce12230

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions