Skip to content

:latest is missing jdk 21 #604

@djmittens

Description

@djmittens

I noticed there is also another issue [#589 ] around this and
our team uses the latest tag for firestore emulator, and its not finding jdk 21.

❯ docker run google/cloud-sdk:latest gcloud beta emulators firestore start
Unable to find image 'google/cloud-sdk:latest' locally
latest: Pulling from google/cloud-sdk
961c8fcff99c: Pull complete 
be79b311b793: Pull complete 
02156208f90e: Pull complete 
26b9604e6952: Pull complete 
de05286183df: Pull complete 
d30dec94e17c: Pull complete 
Digest: sha256:8211fe293c624b9db62c6e6c635d571d4c3ef1b214b5a5ac532fa8fb5b872f24
Status: Downloaded newer image for google/cloud-sdk:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was
 requested
ERROR: (gcloud.beta.emulators.firestore.start) The java executable on your PATH is not a Java 21+ JRE. The Google Cloud Firestore emulator re
quires a Java 21+ JRE installed and on your system PATH

according to this matrix, :latest should support firestore emulator as well,
https://cloud.google.com/sdk/docs/downloads-docker#components_installed_in_each_tag

Ofcourse i can move to use the :emulators tag, but i wonder if there are many other people that will be running into this issue soon as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions