From 7dbd6924a3f428d9b8698a5a7bf2707539722b6f Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Mon, 22 Mar 2021 23:14:49 -0700 Subject: Update apt repository to limit to supported architectures. Fixes #5703 PiperOrigin-RevId: 364492235 --- g3doc/user_guide/install.md | 10 +++++----- 1 file 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. -- cgit v1.2.3