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

(PUP-9212) Allow for building containers with context #12

Merged
merged 4 commits into from
Oct 25, 2018

Conversation

tvpartytonight
Copy link
Contributor

Before this commit, beaker-docker would copy the file contents of a
supplied dockerfile and use that to generate a new image. This had the
drawback of not being able to use much of the Dockerfile DSL, such as
COPY or VOLUME, because they were relative paths that were not copied
along with the Dockerfile itself.

This commit changes it so that a dockerfile is copied along with the
context of the test execution directory, so that those Dockerfile DSL
methods are usable with a Dockerfile used by beaker.

Before this commit, beaker-docker would copy the file contents of a
supplied dockerfile and use that to generate a new image. This had the
drawback of not being able to use much of the Dockerfile DSL, such as
COPY or VOLUME, because they were relative paths that were not copied
along with the Dockerfile itself.

This commit changes it so that a dockerfile is copied along with the
context of the test execution directory, so that those Dockerfile DSL
methods are usable with a Dockerfile used by beaker.
@tvpartytonight
Copy link
Contributor Author

@kevpl this some improved testing and host examples, as requested.

Copy link
Contributor

@kevpl kevpl left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@kevpl kevpl merged commit b981c01 into voxpupuli:master Oct 25, 2018
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