aboutsummaryrefslogtreecommitdiff
path: root/infra/build_fuzzers.Dockerfile
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-01-20 13:23:55 -0800
committerGitHub <noreply@github.com>2021-01-20 13:23:55 -0800
commitb998058ef3c6a27fe179b0ab3db8cb08ad766d85 (patch)
treee2fde0dd5a9847ee34935d9c18fff77763e2b9ed /infra/build_fuzzers.Dockerfile
parent9d7f4f3100caf7aa731cf53c943a4e3ef62b0607 (diff)
downloadoss-fuzz-b998058ef3c6a27fe179b0ab3db8cb08ad766d85.tar.gz
Move entrypoints for CIFuzz to cifuzz folder. (#5020)
Move entrypoints for CIFuzz to cifuzz. This allows us to reduce some complexity by getting rid of an unnecessary copy in docker and a hack to making importing work.
Diffstat (limited to 'infra/build_fuzzers.Dockerfile')
-rw-r--r--infra/build_fuzzers.Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/infra/build_fuzzers.Dockerfile b/infra/build_fuzzers.Dockerfile
index 49c0d2c16..df06ff754 100644
--- a/infra/build_fuzzers.Dockerfile
+++ b/infra/build_fuzzers.Dockerfile
@@ -17,10 +17,10 @@
FROM gcr.io/oss-fuzz-base/cifuzz-base
-COPY cifuzz/actions/build_fuzzers/build_fuzzers_entrypoint.py /opt/build_fuzzers_entrypoint.py
-
# Python file to execute when the docker container starts up
-ENTRYPOINT ["python3", "/opt/build_fuzzers_entrypoint.py"]
+# We can't use the env var $OSS_FUZZ_ROOT here. Since it's a constant env var,
+# just expand to '/opt/oss-fuzz'.
+ENTRYPOINT ["python3", "/opt/oss-fuzz/infra/cifuzz/build_fuzzers_entrypoint.py"]
# Update infra source code.
ADD . ${OSS_FUZZ_ROOT}/infra