From f3304082c2aa51baa30f5acc1e17331673fba0d2 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Tue, 22 Nov 2022 03:46:47 +0100 Subject: [PATCH] bazel-rules-fuzzing-test: Link python to python3 (#9024) rules_fuzzing uses Bazel 4, which still expects `python` in `PATH`. Work towards https://github.com/bazelbuild/rules_fuzzing/pull/212#issuecomment-1317260421 --- projects/bazel-rules-fuzzing-test-java/Dockerfile | 3 +++ projects/bazel-rules-fuzzing-test/Dockerfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/projects/bazel-rules-fuzzing-test-java/Dockerfile b/projects/bazel-rules-fuzzing-test-java/Dockerfile index 89e8b8759969..08c9712c924e 100644 --- a/projects/bazel-rules-fuzzing-test-java/Dockerfile +++ b/projects/bazel-rules-fuzzing-test-java/Dockerfile @@ -16,6 +16,9 @@ FROM gcr.io/oss-fuzz-base/base-builder-jvm +RUN apt-get update && \ + apt-get install -y python-is-python3 + RUN git clone https://github.com/bazelbuild/rules_fuzzing.git WORKDIR $SRC/rules_fuzzing/ COPY build.sh $SRC/ diff --git a/projects/bazel-rules-fuzzing-test/Dockerfile b/projects/bazel-rules-fuzzing-test/Dockerfile index c007f5aa85ed..02adc30e6141 100644 --- a/projects/bazel-rules-fuzzing-test/Dockerfile +++ b/projects/bazel-rules-fuzzing-test/Dockerfile @@ -16,6 +16,9 @@ FROM gcr.io/oss-fuzz-base/base-builder +RUN apt-get update && \ + apt-get install -y python-is-python3 + RUN git clone https://github.com/bazelbuild/rules_fuzzing.git WORKDIR $SRC/rules_fuzzing/ COPY build.sh $SRC/