Skip to content

Add target argument to image building - #1612

Merged
shin- merged 1 commit into
docker:masterfrom
lawliet89:build-stage
May 17, 2017
Merged

shin- merged 1 commit into
docker:masterfrom
lawliet89:build-stage

Conversation

@lawliet89

@lawliet89 lawliet89 commented May 16, 2017 •

Copy link
Copy Markdown
Contributor

This is related to the multi-stage image building that was introduced in 17.05 (API 1.29).

This allows a user to specify the stage of a multi-stage Dockerfile to build for, rather than the final stage.

Please let me know if I should also add unit tests. I did not add them because the unit tests seem to be run with Docker API 1.26, and the 1.29 test will never be run anyway.

@lawliet89
lawliet89 force-pushed the build-stage branch 2 times, most recently from c8d137c to 1547ff7 Compare May 16, 2017 08:12
This is related to the multi-stage image building
that was introduced in 17.05 (API 1.29).

This allows a user to specify the stage of a multi-stage
Dockerfile to build for, rather than the final stage.

Signed-off-by: Yong Wen Chua <[email protected]>

@shin- shin- left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@shin-
shin- merged commit 7af7e1b into docker:master May 17, 2017
@lawliet89
lawliet89 deleted the build-stage branch July 4, 2017 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants