aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-01-26 17:55:28 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-01-26 18:54:18 +0100
commit71b9768d69177ae23b2b710a6c2009fafa764f99 (patch)
treef0909f47e7c21fd575b938254d311cf5ac3e8799
parent79f2eafbb93555708d21ab2a98d47b20d438dced (diff)
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.
-rw-r--r--tools/docker/syzbot/Dockerfile5
1 files 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