Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Improve entrypoint/cmd #19653

@darkdragon-001

Description

@darkdragon-001

When running the image without a CMD, I get:

% docker run -it --rm gcr.io/cloud-marketplace/google/ubuntu2004
/bin/sh: 0: -c requires an argument

So setting CMD to /bin/bash should work. Or use an entrypoint.sh script like

exec "$@"

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