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

Include installation instructions in the README #216

Open
ELLIOTTCABLE opened this issue Apr 22, 2023 · 1 comment
Open

Include installation instructions in the README #216

ELLIOTTCABLE opened this issue Apr 22, 2023 · 1 comment

Comments

@ELLIOTTCABLE
Copy link

This isn't an issue I've ever had with an open-source project before, heh, but …

how do I install nsjail?

In particular, it'd be great if there were the usual install-instructions-per-distro in the README — something like apt/snap/donwload tarball/build from source.

(Related: #137!)

@goldstar611
Copy link

The build instructions are quite short and are noted in the Dockerfile at https://github.com/google/nsjail/blob/3932b67781d3e15bfefc0cccfda6a6884a2677cc/Dockerfile

Basically, in an Ubuntu virtual machine, run

sudo apt update
sudo apt install autoconf bison flex gcc g++ git libprotobuf-dev libnl-route-3-dev libtool make pkg-config protobuf-compiler

git clone https://github.com/google/nsjail.git

cd nsjail

make

sudo mv /nsjail/nsjail /usr/local/bin/

That last step makes nsjail available in your path so any app or command prompt will be able to find it.

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

2 participants