From 71b9768d69177ae23b2b710a6c2009fafa764f99 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 26 Jan 2021 17:55:28 +0100 Subject: tools/docker: add libc6-dev-i386-amd64-cross to syzbot image A new image required to build i386 executables in bullseye. We also need syzkaller user for sandboxing. And EDITOR is not necessary as the container is not used interactively. --- tools/docker/syzbot/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/docker/syzbot/Dockerfile b/tools/docker/syzbot/Dockerfile index dd93f302e..8a95da445 100644 --- a/tools/docker/syzbot/Dockerfile +++ b/tools/docker/syzbot/Dockerfile @@ -28,7 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q \ # Cross-compilation: g++-arm-linux-gnueabi g++-aarch64-linux-gnu g++-powerpc64le-linux-gnu \ g++-mips64el-linux-gnuabi64 g++-s390x-linux-gnu g++-riscv64-linux-gnu \ - libc6-dev-i386 lib32gcc-10-dev lib32stdc++-10-dev + libc6-dev-i386 libc6-dev-i386-amd64-cross lib32gcc-10-dev lib32stdc++-10-dev +# pkg/osutil uses syzkaller user for sandboxing. +RUN useradd syzkaller RUN echo "export PS1='\n\W🤖 '" >> /root/.bashrc -RUN echo "export EDITOR=nano" >> /root/.bashrc -- cgit mrf-deployment