Skip to content

Added documentation for adding Docker build args. #3694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2017
Merged

Added documentation for adding Docker build args. #3694

merged 1 commit into from
Mar 3, 2017

Conversation

oatmealraisin
Copy link

@oatmealraisin oatmealraisin commented Feb 7, 2017

Short section on Build Args. @bparees ptal?

Waiting on the related PR in Origin

@bparees
Copy link
Contributor

bparees commented Feb 7, 2017

lgtm, assuming of course that you get api approval for the api shown in the example :)

@bparees bparees changed the title Added documentation for adding Docker build args. [DO_NOT_MERGE] Added documentation for adding Docker build args. Feb 7, 2017
@bparees bparees self-assigned this Feb 7, 2017
[[docker-strategy-build-args]]
=== Docker Build Arguments


Copy link
Contributor

Choose a reason for hiding this comment

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

Just remove one extra line here. The rest LGTM! 🍻

@ahardin-rh ahardin-rh added this to the Future Release milestone Feb 8, 2017
@oatmealraisin
Copy link
Author

@ahardin-rh
Copy link
Contributor

@oatmealraisin Whoops! Heads-up that this will have to be rebased since the Builds topic was just reworked into smaller chunks. Looks like you will want to move this new section to the Build Strategies file https://docs.openshift.com/container-platform/3.4/dev_guide/builds/build_strategies.html 👁️‍🗨️

@oatmealraisin
Copy link
Author

@ahardin-rh Thanks for the heads up!

@bparees bparees changed the title [DO_NOT_MERGE] Added documentation for adding Docker build args. Added documentation for adding Docker build args. Mar 3, 2017
@bparees
Copy link
Contributor

bparees commented Mar 3, 2017

@oatmealraisin bump

@oatmealraisin
Copy link
Author

@ahardin-rh Moved everything to Build Strategies, ptal?

@bparees The content didn't change.

=== Docker Build Arguments

To set link:http://docs.docker.com/v1.7/reference/api/hub_registry_spec/#docker-registry-1-0[Docker build arguments]
, add entries to the `BuildArgs` array, which is located in the
Copy link
Contributor

Choose a reason for hiding this comment

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

Overall, this looks great! My one nit is that it looks like a weird line break here. Other than that, I think we're ready to go. Thanks!

Copy link
Author

Choose a reason for hiding this comment

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

Sorry, I break on >80 characters, fixed

@ahardin-rh
Copy link
Contributor

Thank you!

@ahardin-rh ahardin-rh merged commit b1dc755 into openshift:master Mar 3, 2017
@ahardin-rh
Copy link
Contributor

[rev_history]
|xref:../dev_guide/builds/build_strategies.adoc#dev-guide-build-strategy-options[Builds -> Build Strategy Options]
|Added a new section on adding xref:../dev_guide/builds/build_strategies.adoc#docker-strategy-build-args[Docker build arguments].
%

@vikram-redhat vikram-redhat modified the milestones: Future Release, Staging Jul 7, 2017
@vikram-redhat vikram-redhat modified the milestones: Future Release, Staging Aug 8, 2017
@vikram-redhat vikram-redhat modified the milestones: Future Release, Staging, OCP 3.6 GA Aug 8, 2017
@vikram-redhat vikram-redhat modified the milestones: OCP 3.6 GA, Staging, TEMP Sep 7, 2017
@vikram-redhat vikram-redhat modified the milestones: OCP 3.6 GA, Staging, TEMP Sep 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants