aboutsummaryrefslogtreecommitdiff
path: root/infra/run_fuzzers.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'infra/run_fuzzers.Dockerfile')
-rw-r--r--infra/run_fuzzers.Dockerfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/infra/run_fuzzers.Dockerfile b/infra/run_fuzzers.Dockerfile
index b00bb12b9..8c8d7bb1b 100644
--- a/infra/run_fuzzers.Dockerfile
+++ b/infra/run_fuzzers.Dockerfile
@@ -13,7 +13,8 @@
# limitations under the License.
#
################################################################################
-# Docker image to run the CIFuzz action run_fuzzers in.
+# Docker image for running fuzzers on CIFuzz (the run_fuzzers action on GitHub
+# actions).
FROM gcr.io/oss-fuzz-base/cifuzz-base
@@ -22,5 +23,9 @@ FROM gcr.io/oss-fuzz-base/cifuzz-base
# just expand to '/opt/oss-fuzz'.
ENTRYPOINT ["python3", "/opt/oss-fuzz/infra/cifuzz/run_fuzzers_entrypoint.py"]
+WORKDIR ${OSS_FUZZ_ROOT}/infra
+
# Copy infra source code.
-ADD . ${OSS_FUZZ_ROOT}/infra \ No newline at end of file
+ADD . ${OSS_FUZZ_ROOT}/infra
+
+RUN python3 -m pip install -r ${OSS_FUZZ_ROOT}/infra/cifuzz/requirements.txt