Building Default Armbian
Page Contents
Last edited by
Editor
08/19/2025

Build Default Armbian Image

Docker Build:

  1. Boot up Ubuntu, Debian, or Windows Linux Subsystem.

  2. Install any needed dependencies and clone build repository.

sudo apt-get update
sudo apt-get install ca-certificates curl git qemu-user-static
git config --global --unset http.proxy
git clone https://github.com/armbian/build.git
  1. Verify all Docker related packages are removed.
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
  1. Add the Docker official GPG key.
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
  1. Add the Docker repository to Apt sources and install Docker.
echo   "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] 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 docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
  1. Add $USER to docker and sudo groups.
sudo usermod -aG docker $USER
sudo usermod -aG sudo $USER
grep -E 'docker|sudo' /etc/group
  1. Remove nodev from fstab if present.
sudo nano /etc/fstab
  1. Reboot to apply all changes.

  2. Start compiling with preferred options.

cd /$HOME/build/
./compile.sh BOARD= BRANCH= BUILD_DESKTOP= BUILD_MINIMAL= KERNEL_CONFIGURE= RELEASE= PREFER_DOCKER= SHARE_LOG=