diff --git a/images/benchmarks/build-grpc/Dockerfile.aarch64 b/images/benchmarks/build-grpc/Dockerfile.aarch64 new file mode 100644 index 000000000..aa8932b2b --- /dev/null +++ b/images/benchmarks/build-grpc/Dockerfile.aarch64 @@ -0,0 +1,22 @@ +FROM ubuntu:18.04 + +RUN set -x \ + && apt-get update \ + && apt-get install -y \ + autoconf \ + build-essential \ + clang \ + curl \ + libtool \ + pkg-config \ + git \ + unzip \ + wget \ + && rm -rf /var/lib/apt/lists/* + +RUN wget https://github.com/bazelbuild/bazel/releases/download/4.2.1/bazel-4.2.1-linux-arm64 +RUN mv bazel-4.2.1-linux-arm64 /bin/bazel && chmod +x /bin/bazel + +RUN mkdir grpc && cd grpc \ + && git init && git remote add origin https://github.com/grpc/grpc.git \ + && git fetch --depth 1 origin a672e22bd1e10b3ff2a91aaae5aee3a65cc95bfe && git checkout FETCH_HEAD