1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15################################################################################
16# Docker image to run the CIFuzz action run_fuzzers in.
17
18FROM gcr.io/oss-fuzz-base/cifuzz-base
19
20# Python file to execute when the docker container starts up.
21# We can't use the env var $OSS_FUZZ_ROOT here. Since it's a constant env var,
22# just expand to '/opt/oss-fuzz'.
23ENTRYPOINT ["python3", "/opt/oss-fuzz/infra/cifuzz/run_fuzzers_entrypoint.py"]
24
25# Copy infra source code.
26ADD . ${OSS_FUZZ_ROOT}/infra