• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1%YAML 1.2
2--- |
3  # Copyright 2015 gRPC authors.
4  #
5  # Licensed under the Apache License, Version 2.0 (the "License");
6  # you may not use this file except in compliance with the License.
7  # You may obtain a copy of the License at
8  #
9  #     http://www.apache.org/licenses/LICENSE-2.0
10  #
11  # Unless required by applicable law or agreed to in writing, software
12  # distributed under the License is distributed on an "AS IS" BASIS,
13  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  # See the License for the specific language governing permissions and
15  # limitations under the License.
16
17  FROM gcr.io/oss-fuzz-base/base-builder
18
19  # -------------------------- WARNING --------------------------------------
20  # If you are making changes to this file, consider changing
21  # https://github.com/google/oss-fuzz/blob/master/projects/grpc/Dockerfile
22  # accordingly.
23  # -------------------------------------------------------------------------
24
25  # Install basic packages and Bazel dependencies.
26  RUN apt-get update && apt-get install -y software-properties-common python-software-properties
27  RUN add-apt-repository ppa:webupd8team/java
28  RUN apt-get update && apt-get -y install ${'\\'}
29    autoconf ${'\\'}
30    build-essential ${'\\'}
31    curl ${'\\'}
32    wget ${'\\'}
33    libtool ${'\\'}
34    make ${'\\'}
35    openjdk-8-jdk ${'\\'}
36    vim
37
38  <%include file="../../python_deps.include"/>
39
40  <%include file="../../compile_python_36.include"/>
41
42  <%include file="../../bazel.include"/>
43
44  RUN mkdir -p /var/local/jenkins
45
46  # Define the default command.
47  CMD ["bash"]
48