I would like to start the build container with a working systemd inside. This means having /sbin/init as PID 1.
Currently there is no good way to do this as the container command is hardcoded:
|
c.Command = []string{"/workspace/buildkite-agent"} |
It would be nice to be able to override this command to be able to start /sbin/init and then the buildkite-agent with its arguments.
We could of course hack this into a container image derived from the official one, but would rather not.
Any help making this work would be highly appreciated.