mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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
12 lines
564 B
Docker
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/*
|