From 9bf908efbcc7539e4de90186462a36e58973517a Mon Sep 17 00:00:00 2001 From: Hugo Hromic Date: Sat, 6 Jul 2019 12:31:56 +0100 Subject: [PATCH] Use i386 qemu-user-static package in Dockerfile At the moment, Buster images are broken when building with 64-bits Qemu. --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 706a5fb..1dce0df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,14 @@ FROM debian:buster ENV DEBIAN_FRONTEND noninteractive -RUN apt-get -y update && \ +RUN dpkg --add-architecture i386 && \ + apt-get -y update && \ apt-get -y install \ git vim parted \ - quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \ - bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod\ + quilt coreutils qemu-user-static:i386 debootstrap zerofree zip dosfstools \ + bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod \ && rm -rf /var/lib/apt/lists/* COPY . /pi-gen/ -VOLUME [ "/pi-gen/work", "/pi-gen/deploy"] +VOLUME ["/pi-gen/work", "/pi-gen/deploy"]