A Go service inside Docker
PID 1 · seccomp · Landlock · remote exit event
- 1.CI wraps the compiled order-engine service with oee build -f oee.yaml -o order-engine-oee.
- 2.A distroless or alpine image starts it with ENTRYPOINT ["/app/order-engine-oee"], so the Executor is the container’s PID 1.
- 3.oee-stub forwards signals, reaps zombies, applies seccomp and Landlock rules, launches the Go binary, and polls the exit event URL every minute.
- 4.When the API returns {"ep_flag": "ABC"}, the Go process gets SIGTERM, connections drain, and the container exits with 143, logs and volumes intact.