mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Document required deps for Gentoo
This commit is contained in:
parent
6a65e63eae
commit
98928a0570
|
@ -11,10 +11,14 @@ on the system:
|
||||||
* [Bazel](https://bazel.build/) version 0.23.0
|
* [Bazel](https://bazel.build/) version 0.23.0
|
||||||
* Python 2.7 with type annotations
|
* Python 2.7 with type annotations
|
||||||
* Linux userspace API headers
|
* Linux userspace API headers
|
||||||
|
* Linux kernel with support for UTS, IPC, user, PID and network namespaces
|
||||||
|
|
||||||
On a system running Debian 10 "Buster", these commands will install the
|
Please refer to the
|
||||||
necessary packages:
|
[Bazel documentation](https://docs.bazel.build/versions/master/bazel-overview.html)
|
||||||
|
for information on how to change the default compiler toolchain.
|
||||||
|
|
||||||
|
### Debian 10 "Buster"
|
||||||
|
Build dependencies:
|
||||||
```bash
|
```bash
|
||||||
echo "deb http://storage.googleapis.com/bazel-apt stable jdk1.8" | \
|
echo "deb http://storage.googleapis.com/bazel-apt stable jdk1.8" | \
|
||||||
sudo tee /etc/apt/sources.list.d/bazel.list
|
sudo tee /etc/apt/sources.list.d/bazel.list
|
||||||
|
@ -23,10 +27,22 @@ sudo apt-get install -qy python-typing python-clang-7 libclang-7-dev
|
||||||
sudo apt-get install -qy build-essential linux-libc-dev bazel
|
sudo apt-get install -qy build-essential linux-libc-dev bazel
|
||||||
```
|
```
|
||||||
|
|
||||||
Please refer to the
|
### Gentoo
|
||||||
[Bazel documentation](https://docs.bazel.build/versions/master/bazel-overview.html)
|
Kernel options required:
|
||||||
for information on how to change the default compiler toolchain.
|
```
|
||||||
|
General setup --->
|
||||||
|
-*- Namespaces support
|
||||||
|
[*] UTS namespace
|
||||||
|
[*] IPC namespace
|
||||||
|
[*] User namespace (EXPERIMENTAL)
|
||||||
|
[*] PID Namespaces
|
||||||
|
[*] Network namespace
|
||||||
|
```
|
||||||
|
|
||||||
|
Build dependencies:
|
||||||
|
```bash
|
||||||
|
emerge dev-util/bazel dev-python/typing dev-python/clang-python
|
||||||
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user