mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
build: update outdated entries
Adjusted the Debian version required for container construction and the installation commands for the new version of Docker.
This commit is contained in:
parent
db828e38c3
commit
5b1b9cc44e
@ -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`_
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user