Skip to content

debug detect direct processes with /bin/sh -c ... #4397

@j-windsor

Description

@j-windsor

Expected behavior

Similar to what was done in #4345, but the general case that works for docker builds as well.

Actual behavior

Debug events are not sent when the Dockerfile CMD or ENTRYPOINT contains /bin/sh -c ...

Something like

ENTRYPOINT [ "/bin/sh", "-c" ]
CMD [ "python -m ptvsd --port 3000 --host 0.0.0.0 manage.py runserver 0.0.0.0:8080 --noreload" ]

Information

  • Skaffold version: version 4c2ea7c
  • Operating system: macOS 10.15.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions