summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-12-03 19:41:56 +0000
committerGitHub <noreply@github.com>2025-12-03 19:41:56 +0000
commit7a5f513f801edf80f83f2c52710ac666c4becc56 (patch)
treee07d2c28de4e1153f936cdb9fcba9feb64750842
parent88897baad505ff5d946f694877324ac87a295f0d (diff)
parentc9c7f43a34233608ca1731cb7d727599f20ac59e (diff)
downloadvyos-build-7a5f513f801edf80f83f2c52710ac666c4becc56.tar.gz
vyos-build-7a5f513f801edf80f83f2c52710ac666c4becc56.zip
Merge pull request #1074 from asklymenko/patch-3
T8068: qemu-system-aarch64 is not included to the Dockerfile for arm64 arch
-rw-r--r--docker/Dockerfile11
1 files changed, 10 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index c314c664..b8493f05 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,15 @@ 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 \
+ python3-pexpect \
+ 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 \