mirror of
https://github.com/moby/buildkit.git
synced 2026-11-06 05:16:45 +00:00
Allow resetting configuration inherited from the base image with FROM --reset=<field>[,<field>...]. Fields are named after the instructions that set them: cmd, entrypoint, env, expose, healthcheck, label, onbuild, shell, stopsignal, user, volume and workdir. "all" resets all of them. Resetting onbuild skips the ONBUILD triggers of the base image. Available in the labs channel (dfreset build tag). Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>