From 6fdbe299a4c595a91da6ae0f1a615f3dbf8c2307 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Tue, 26 Feb 2019 10:17:45 +0100 Subject: [PATCH] docker: Take qemu-user-static from buster for Isar image Doing that will allow building arm64 buster images with Isar. The new qemu works just fine for all older suites like stretch. Signed-off-by: Henning Schild Signed-off-by: Daniel Wagner --- Dockerfile.isar | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.isar b/Dockerfile.isar index 430b5b0..b2baeb9 100644 --- a/Dockerfile.isar +++ b/Dockerfile.isar @@ -3,7 +3,9 @@ FROM kasproject/kas:latest ENV LC_ALL=en_US.UTF-8 -RUN apt-get update && \ +RUN echo 'deb http://deb.debian.org/debian buster main' > /etc/apt/sources.list.d/buster.list && \ + echo "Package: qemu-user-static binfmt-support\nPin: release n=buster\nPin-Priority: 501\n\nPackage: *\nPin: release n=buster\nPin-Priority: -1" > /etc/apt/preferences.d/qemu-user-static && \ + apt-get update && \ apt-get install -y -f --no-install-recommends \ autoconf automake gdisk libtool bash-completion \ sudo grub2 grub-efi-amd64-bin grub-efi-ia32-bin \