You can now run commands with
This makes it possible to install system dependencies at runtime, like Go, Python packages, or custom binaries, before executing your code.
The sandbox
With
Learn more about Vercel Sandbox and sudo in the documentation.
Read more
Continue reading...
sudo
inside Vercel Sandbox, giving you full control over runtime environment setup, just like on a traditional Linux system.This makes it possible to install system dependencies at runtime, like Go, Python packages, or custom binaries, before executing your code.
sudo
is available via the runCommand
method:The sandbox
sudo
configuration is designed to be easy to use:
PATH
is preserved
HOME
is set to /root
Custom environment variables likeenv: { FOO: "bar" }
are passed through
With
sudo
on Sandbox it's easier to run untrusted code in isolated environments with the right permissions, with no workarounds required.Learn more about Vercel Sandbox and sudo in the documentation.
Read more
Continue reading...