Skip to content

Is there any way to augment to the entrypoint for an image? #467

Description

@Jdban

We have a situation where we have credentials files in a kubernetes secret, and when our container starts up, we need to run a command to copy them to a different spot in the container for use because they cannot be symlinks.

We want to incorporate this into the entrypoint via a container_image step or something, but since we're using java_image, the current entrypoint is gigantic and not something we can script in (to my knowledge). We want our new entrypoint to be something like:

entrypoint = [
"run-command.sh && old_entrypoint",
]

Is there any way to do this?

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