aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker/syzbot/Dockerfile
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-06-09 13:06:45 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-06-09 13:46:35 +0200
commit84fe5d96c58ec30d441399e40229bab5da6297bd (patch)
tree7a9326633e6d85fda113dbae825630eac1887100 /tools/docker/syzbot/Dockerfile
parent5c2fe34603646834e7fdb710c1b128aac772f772 (diff)
tools/docker/syzbot: add fake GRTE python
Not really GRTE, but it's enough to run some scripts that hardcode the path.
Diffstat (limited to 'tools/docker/syzbot/Dockerfile')
-rw-r--r--tools/docker/syzbot/Dockerfile3
1 files changed, 3 insertions, 0 deletions
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