Use i386 qemu-user-static package in Dockerfile

At the moment, Buster images are broken when building with 64-bits Qemu.
pull/307/head
Hugo Hromic 2019-07-06 12:31:56 +01:00 committed by Hugo Hromic
parent 5436273ec7
commit 9bf908efbc
1 changed files with 5 additions and 4 deletions

View File

@ -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"]