cloudendpoints / esp

Extensible Service Proxy
https://cloud.google.com/endpoints/
BSD 2-Clause "Simplified" License
280 stars 73 forks source link

ESP build docker failing #860

Open aashish004 opened 1 year ago

aashish004 commented 1 year ago

ERROR: error loading package '': in /root/.cache/bazel/_bazel_root/426e07be2d768e8a33e7ef7338dfbabd/external/com_github_grpc_grpc/bazel/grpc_python_deps.bzl: Encountered error while reading extension file 'requirements.bzl': no such package '@grpc_python_dependencies//': pip_import failed: Collecting coverage>=4.0 (from -r /root/.cache/bazel/_bazel_root/426e07be2d768e8a33e7ef7338dfbabd/external/com_github_grpc_grpc/requirements.bazel.txt (line 2))

WORKSPACE file

git_repository(
    name = "com_github_grpc_grpc",
    commit = "5110b5702daf7f27d31b0a54d118168d4b468edf",  # May 29, 2019
    remote = "https://github.com/grpc/grpc.git",
)

git_repository(
    name = "io_bazel_rules_python",
    commit = "8b5d0683a7d878b28fffe464779c8a53659fc645",
    remote = "https://github.com/bazelbuild/rules_python.git",
)

load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories", "pip_import")

pip_import(
    name = "grpc_python_dependencies",
    requirements = "@com_github_grpc_grpc//:requirements.bazel.txt",

Im dockerfile

ADD https://github.com/bazelbuild/bazel/releases/download/0.21.0/bazel_0.21.0-linux-x86_64.deb /bazel_0.21.0.deb

RUN dpkg -i /bazel_0.21.0.deb && rm /bazel_0.21.0.deb

I know its old but we never required to rebuild this until now as we have added our own code.

aashish004 commented 1 year ago

@qiwzhang can you please help here?