Files
Kevin KrakauerandgVisor bot 316e51d120 benchmarks: add a dockerfile for gsutil benchmarking
Some users may download models from GCS buckets. An image with gsutil allows us
to benchmark that download with runc and runsc.

PiperOrigin-RevId: 666076709
2024-08-21 16:19:02 -07:00

12 lines
564 B
Docker

FROM ubuntu:24.04
# Install gcloud and gsutil from apt.
RUN apt-get update && \
apt-get install -y apt-transport-https ca-certificates gnupg curl && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg && \
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \
tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
apt-get update && apt-get install -y google-cloud-cli && \
rm -rf /var/lib/apt/lists/*