Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Multi-stage docker build support (using --target in build) does not appear to work

docker build --target build_stage_target -t build_name . 


Running the above command in my pipelines does not produce the desired results. The --target flag is apparently ignored, and the build runs all stages before and after the specified stage.


Is this indeed not supported or could I be doing something wrong?



0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events