Use i386 qemu-user-static package in Dockerfile
At the moment, Buster images are broken when building with 64-bits Qemu.
This commit is contained in:
parent
5436273ec7
commit
9bf908efbc
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user