diff options
| author | sofukong <130022807+sofukong@users.noreply.github.com> | 2023-12-23 02:26:18 +0800 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-22 19:26:18 +0100 | 
| commit | 5b1b9cc44e8ef630472172212c0d4766e0ffde1c (patch) | |
| tree | 3362dc637c4f1b5b8dc6616393cab7096b628422 | |
| parent | db828e38c3359e55859c8ea15add4979db411565 (diff) | |
| download | vyos-documentation-5b1b9cc44e8ef630472172212c0d4766e0ffde1c.tar.gz vyos-documentation-5b1b9cc44e8ef630472172212c0d4766e0ffde1c.zip | |
build: update outdated entries
Adjusted the Debian version required for container construction and the
installation commands for the new version of Docker.
| -rw-r--r-- | docs/contributing/build-vyos.rst | 20 | 
1 files changed, 15 insertions, 5 deletions
| diff --git a/docs/contributing/build-vyos.rst b/docs/contributing/build-vyos.rst index ee23ff22..e873a3c4 100644 --- a/docs/contributing/build-vyos.rst +++ b/docs/contributing/build-vyos.rst @@ -27,7 +27,8 @@ also set up your own build machine and run a :ref:`build_native`.     this page no longer includes content related to VyOS 1.4 and above.  This will guide you though the process of building a VyOS ISO using Docker_. -This process has been tested on clean installs of Debian Jessie and Buster. +This process has been tested on clean installs of Debian Bullseye (11) and  +Bookworm (12).  .. _build_docker: @@ -43,12 +44,21 @@ Installing Docker_ and prerequisites:  .. code-block:: bash +  # Add Docker's official GPG key:    sudo apt-get update -  sudo apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common -  curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - -  sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" +  sudo apt-get install ca-certificates curl gnupg +  sudo install -m 0755 -d /etc/apt/keyrings +  curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg +  sudo chmod a+r /etc/apt/keyrings/docker.gpg + +  # Add the repository to Apt sources: +  echo \ +    "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ +    $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ +    sudo tee /etc/apt/sources.list.d/docker.list > /dev/null +    sudo apt-get update -  sudo apt-get install -y docker-ce +  sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin  `On Ubuntu`_ | 
