uber-archive/makisu

Recover root fs after build when using makisu-alpine

yiranwang52 opened this issue · 0 comments

There are users trying to use makisu-alpine with Jenkins k8s plugin:

I’m facing another issue. The Jenkins k8s plugin requires the containers to be available throughout the pipeline, so I’m using the makisu-alpine image, with tty: true, and cat as the command, so the container remains up. After that the plugin routinely runs touch to check all containers. However once I use the makisu binary to build the docker image, the k8s plugin can no longer execute any command within the makisu container (sh: touch: not found). Does building an image deletes all binaries or alters $PATH in the makisu container? If so, is there a workaround?

One solution is to recover root fs at the end of the build.