summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2021-03-22 23:14:49 -0700
committergVisor bot <gvisor-bot@google.com>2021-03-22 23:16:41 -0700
commit7dbd6924a3f428d9b8698a5a7bf2707539722b6f (patch)
tree39c10dd4fc0a24d29ec2ff73c4a22d6a42648b9e
parentc0bd71c5a596af6cf7f05a712232464623da0ba9 (diff)
Update apt repository to limit to supported architectures.
Fixes #5703 PiperOrigin-RevId: 364492235
-rw-r--r--g3doc/user_guide/install.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/g3doc/user_guide/install.md b/g3doc/user_guide/install.md
index ad0ab9923..bcfba0179 100644
--- a/g3doc/user_guide/install.md
+++ b/g3doc/user_guide/install.md
@@ -59,7 +59,7 @@ Next, the configure the key used to sign archives and the repository:
```bash
curl -fsSL https://gvisor.dev/archive.key | sudo apt-key add -
-sudo add-apt-repository "deb https://storage.googleapis.com/gvisor/releases release main"
+sudo add-apt-repository "deb [arch=amd64,arm64] https://storage.googleapis.com/gvisor/releases release main"
```
Now the runsc package can be installed:
@@ -96,7 +96,7 @@ You can use this link with the steps described in
For `apt` installation, use the `master` to configure the repository:
```bash
-sudo add-apt-repository "deb https://storage.googleapis.com/gvisor/releases master main"
+sudo add-apt-repository "deb [arch=amd64,arm64] https://storage.googleapis.com/gvisor/releases master main"
```
### Nightly
@@ -118,7 +118,7 @@ Note that a release may not be available for every day.
For `apt` installation, use the `nightly` to configure the repository:
```bash
-sudo add-apt-repository "deb https://storage.googleapis.com/gvisor/releases nightly main"
+sudo add-apt-repository "deb [arch=amd64,arm64] https://storage.googleapis.com/gvisor/releases nightly main"
```
### Latest release
@@ -133,7 +133,7 @@ You can use this link with the steps described in
For `apt` installation, use the `release` to configure the repository:
```bash
-sudo add-apt-repository "deb https://storage.googleapis.com/gvisor/releases release main"
+sudo add-apt-repository "deb [arch=amd64,arm64] https://storage.googleapis.com/gvisor/releases release main"
```
### Specific release
@@ -152,7 +152,7 @@ For `apt` installation of a specific release, which may include point updates,
use the date of the release for repository, e.g. `${yyyymmdd}`.
```bash
-sudo add-apt-repository "deb https://storage.googleapis.com/gvisor/releases yyyymmdd main"
+sudo add-apt-repository "deb [arch=amd64,arm64] https://storage.googleapis.com/gvisor/releases yyyymmdd main"
```
> Note: only newer releases may be available as `apt` repositories.