Skip to content
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

Add build args and Dockerfile path override to ImageFromDockerfile #1372

Merged
merged 5 commits into from
Apr 9, 2019

Conversation

rnorth
Copy link
Member

@rnorth rnorth commented Apr 8, 2019

We're using ImageFromDockerfile for testing base images at Skyscanner. The ability to specify a Dockerfile path and build args have both come up as areas where we can make the developer experience a bit better.

As part of this change I've improved the docs quite a bit, including clarifying everyone's bugbear around providing every file to the build context explicitly. Note that #1348 is a slight wrinkle in the approach documented here, but I think it is OK to fix that separately (the issue serves as documentation of that limitation until we solve it).

Copy link
Member

@bsideup bsideup left a comment

Choose a reason for hiding this comment

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

Nice! 👍
Approving with a small code style suggestion

@rnorth rnorth merged commit 1938b32 into master Apr 9, 2019
@delete-merged-branch delete-merged-branch bot deleted the dockerfile-build-opts branch April 9, 2019 19:18
@rnorth rnorth added this to the next milestone Apr 15, 2019
@rnorth
Copy link
Member Author

rnorth commented Apr 16, 2019

Released in 1.11.2!

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.

None yet

2 participants