summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorAndrii Klymenko <a.klymenko@vyos.io>2025-12-03 19:38:18 +0200
committerGitHub <noreply@github.com>2025-12-03 19:38:18 +0200
commitbee2dd31d56d86a8d6521523dd62408268ba7894 (patch)
tree935fae3ed22d520867af20d15f7e760497cf37e8 /docker/Dockerfile
parent88897baad505ff5d946f694877324ac87a295f0d (diff)
downloadvyos-build-bee2dd31d56d86a8d6521523dd62408268ba7894.tar.gz
vyos-build-bee2dd31d56d86a8d6521523dd62408268ba7894.zip
T8068: qemu-system-aarch64 is not included to the Dockerfile for arm64 arch
Add QEMU packages for ARM64 platform.
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile10
1 files changed, 9 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index c314c664..4094f6ed 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -266,7 +266,7 @@ RUN GO_VERSION_INSTALL="1.23.2" ; \
RUN echo "export PATH=/opt/go/bin:$PATH" >> /etc/bash.bashrc
# Packages needed for Qemu test-suite
-# This is for now only supported on i386 and amd64 platforms
+# Packages for i386 and amd64 platforms
RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \
apt-get update && apt-get install -y \
python3-pexpect \
@@ -276,6 +276,14 @@ RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \
qemu-kvm; \
fi
+# Packages for arm64 platform
+RUN if dpkg-architecture -iarm64; then \
+ apt-get update && apt-get install -y \
+ ipxe-qemu \
+ qemu-system-aarch64 \
+ qemu-efi-aarch64; \
+ fi
+
# Packages needed for building vmware and GCE images
# This is only supported on i386 and amd64 platforms
RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \