Specifying a Dockerfile stage via kaniko

Hi All!

When building ‘manually’ using docker build I have the possibility to set --target=<stage-name> for specifying the resulting stage in a multi-stage Dockerfile.

Is it possible passing --target option to the underlying docker build process when using /kaniko/executor?
Any help appreciated :slight_smile:

Hi,
The same according to Kaniko Readme.md

@balonik I totally overlooked this :slight_smile: Thanks for the help!

1 Like