A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://cloud.google.com/sdk/docs/dockerfile_example below:

Example Dockerfiles | Google Cloud SDK Documentation

Example Dockerfiles

Stay organized with collections Save and categorize content based on your preferences.

Build your own gcloud Docker Image including docker and docker-buildx
FROM docker:28.2.2 as static-docker-source # get latest docker
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine
# Comment the line below if you don't want `docker`
COPY --from=static-docker-source /usr/local/bin/docker /usr/local/bin/docker
# Comment the line below if you don't want `docker-buildx`
COPY --from=static-docker-source /usr/local/libexec/docker/cli-plugins/docker-buildx /usr/local/libexec/docker/cli-plugins/docker-buildx
FROM docker:28.2.2 as static-docker-source # get latest docker
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:debian_component_based
# Comment the line below if you don't want `docker`
COPY --from=static-docker-source /usr/local/bin/docker /usr/local/bin/docker
# Comment the line below if you don't want `docker-buildx`
COPY --from=static-docker-source /usr/local/libexec/docker/cli-plugins/docker-buildx /usr/local/libexec/docker/cli-plugins/docker-buildx
FROM docker:28.2.2 as static-docker-source # get latest docker
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:latest
# Comment the line below if you don't want `docker`
COPY --from=static-docker-source /usr/local/bin/docker /usr/local/bin/docker
# Comment the line below if you don't want `docker-buildx`
COPY --from=static-docker-source /usr/local/libexec/docker/cli-plugins/docker-buildx /usr/local/libexec/docker/cli-plugins/docker-buildx
FROM docker:28.2.2 as static-docker-source # get latest docker
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:slim
# Comment the line below if you don't want `docker`
COPY --from=static-docker-source /usr/local/bin/docker /usr/local/bin/docker
# Comment the line below if you don't want `docker-buildx`
COPY --from=static-docker-source /usr/local/libexec/docker/cli-plugins/docker-buildx /usr/local/libexec/docker/cli-plugins/docker-buildx
Build your own gcloud Docker Image with make
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:latest
RUN apt-get update -qqy && apt-get -qqy upgrade && apt-get install -qqy make
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:debian_component_based
RUN apt-get update -qqy && apt-get -qqy upgrade && apt-get install -qqy make
Build your own gcloud Docker Image with Java 21
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:latest
RUN curl -O https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb && \
apt install ./jdk-21_linux-x64_bin.deb
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:emulators
RUN curl -O https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb && \
apt install ./jdk-21_linux-x64_bin.deb
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:debian_component_based
RUN curl -O https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb && \
apt install ./jdk-21_linux-x64_bin.deb

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-13 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-13 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4