Skip to content

fix: preserve image ENTRYPOINT when launching Swarm services

Latest

Choose a tag to compare

@ffwright ffwright released this 17 Mar 14:47
· 2 commits to main since this release
5557fe0

Summary

  • services.create(command=...) was overwriting the image's ENTRYPOINT with the dagster execute
    command, instead of passing it as CMD via args=
  • Any image relying on ENTRYPOINT for env setup, signal handling, or user switching was silently
    broken
  • Changed to args=command to preserve ENTRYPOINT and only override CMD

https://pypi.org/project/dagster-docker-swarm/0.1.5/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -