Add shortcut command to launch into diagnostic shell
I noticed that during the mimemagic
incident there was no convenient or apparent way to even interact with GCK containers, because the existing commands all try to compose up
them, but that requires them to execute all entrypoint scripts successfully, including bundle install
, which failed, so we have a catch-22.
I tried:
make shell
COMMAND=... make command
both didn't work because they try to up spring
including all dependencies first.
So I added a new make target: diagnostic-shell
which replaces the entrypoint by launching straight into bash and drops the container after running.