Skip to content

Ability to use dunner with docker images whose entrypoint is defined #175

@apoorvam

Description

@apoorvam

For Docker images whose entrypoint is defined and are run as an executable, Dunner fails to execute commands defined in it.

Example: Goreleaser's docker file.

Dunner task file:

tasks:
  release:
    steps:
      - image: goreleaser/goreleaser
        commands:
          - ["echo", "hello"]
          - ["goreleaser", "--version"]

Running this command with dunner fails with error as:

OCI runtime exec failed: exec failed: cannot exec a container that has stopped: unknown
FATA[2019-08-26 18:39:51] docker: command execution failed with exit code 126

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgsoc-2019Implemented as part of GSoC 2019

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions