Skip to content

Wrong version using component install of Cloud sdk #90

@Pfriasf

Description

@Pfriasf

I am trying to create my own image to use inside "Container optimized OS".

FROM google/cloud-sdk:alpine as builder1

RUN gcloud components install docker-credential-gcr --quiet
RUN gcloud components update
RUN docker-credential-gcr version





FROM docker/compose

COPY --from=builder1 /google-cloud-sdk/bin/* /usr/local/bin/
RUN docker-credential-gcr configure-docker
CMD docker-compose

I run into the problem that it always installs version 1.5.0 which does not let me add records for artifact registries.

Any idea how to install the correct version of docker-credential-gcr?

thanks in advance

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