diff options
author | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2021-01-20 13:23:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 13:23:55 -0800 |
commit | b998058ef3c6a27fe179b0ab3db8cb08ad766d85 (patch) | |
tree | e2fde0dd5a9847ee34935d9c18fff77763e2b9ed /infra/build_fuzzers.Dockerfile | |
parent | 9d7f4f3100caf7aa731cf53c943a4e3ef62b0607 (diff) | |
download | oss-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.Dockerfile | 6 |
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 |