From 0dba77942f44965df41ae0cec26668cdb176b1a5 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 22 Aug 2020 17:17:11 +0200 Subject: tools/docker/env: install qemu-user qemu-user allows to run cross-arch binaries in tests. --- tools/docker/env/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/docker') diff --git a/tools/docker/env/Dockerfile b/tools/docker/env/Dockerfile index 25a4f3ddb..a10fdec0d 100644 --- a/tools/docker/env/Dockerfile +++ b/tools/docker/env/Dockerfile @@ -27,7 +27,10 @@ RUN dpkg --add-architecture i386 && \ g++-mips64el-linux-gnuabi64 g++-s390x-linux-gnu g++-riscv64-linux-gnu \ libc6-dev:i386 linux-libc-dev:i386 lib32gcc-8-dev lib32stdc++-8-dev \ # These are needed to build Linux kernel: - flex bison bc libelf-dev libssl-dev && \ + flex bison bc libelf-dev libssl-dev \ + # qemu-user is required to run alien arch binaries in pkg/cover tests. + qemu-user \ + && \ apt-get -y autoremove && \ apt-get clean autoclean && \ rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/* -- cgit mrf-deployment