Skip to content

Handle ENTRYPOINT+CMD in Docker2Singularity #111

@Flamefire

Description

@Flamefire

Is your feature request related to a problem? Please describe.
A DockerFile can have both ENTRYPOINT and CMD. According to this or that I assume the meaning would be something like "if arguments are given to container run then use those, else use CMD" (Correct me if I'm wrong, I'm no Docker expert)

Describe the solution you'd like
Append CMD to ENTRYPOINT at container runtime if no arguments given

Describe alternatives you've considered
Use ENTRYPOINT or CMD in %runscript and create a %startscript with both if both are given as the combination is usually used for services (see above link)

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