Add ARM64 image for grpc-build benchmark.

PiperOrigin-RevId: 485730449
This commit is contained in:
Zach Koopmans
2022-11-02 16:56:00 -07:00
committed by gVisor bot
parent 254fedb1d6
commit af8fcbe7cd
@@ -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