From 84fe5d96c58ec30d441399e40229bab5da6297bd Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 9 Jun 2021 13:06:45 +0200 Subject: tools/docker/syzbot: add fake GRTE python Not really GRTE, but it's enough to run some scripts that hardcode the path. --- tools/docker/syzbot/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/docker') diff --git a/tools/docker/syzbot/Dockerfile b/tools/docker/syzbot/Dockerfile index 13f6be8fc..f2af37930 100644 --- a/tools/docker/syzbot/Dockerfile +++ b/tools/docker/syzbot/Dockerfile @@ -28,6 +28,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q \ g++-mips64el-linux-gnuabi64 g++-s390x-linux-gnu g++-riscv64-linux-gnu \ libc6-dev-i386 libc6-dev-i386-amd64-cross lib32gcc-10-dev lib32stdc++-10-dev +# Not really GRTE, but it's enough to run some scripts that hardcode the path. +RUN mkdir -p /usr/grte/v5/bin && ln -s /usr/bin/python3 /usr/grte/v5/bin/python2.7 + # pkg/osutil uses syzkaller user for sandboxing. RUN useradd syzkaller RUN echo "export PS1='\n\W🤖 '" >> /root/.bashrc -- cgit mrf-deployment