-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix pull parameter in build() #624
Conversation
@@ -306,7 +306,7 @@ def attach_socket(self, container, params=None, ws=False): | |||
|
|||
def build(self, path=None, tag=None, quiet=False, fileobj=None, | |||
nocache=False, rm=False, stream=False, timeout=None, | |||
custom_context=False, encoding=None, pull=True, | |||
custom_context=False, encoding=None, pull=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Luckily since this was broken anyway, setting it to False won't break anything. :)
See also moby/moby#13631 |
@@ -352,6 +352,12 @@ def build(self, path=None, tag=None, quiet=False, fileobj=None, | |||
'dockerfile was only introduced in API version 1.17' | |||
) | |||
|
|||
# Docker server 1.6 only supports values 1 and 0 for pull | |||
# parameter. This was later fixed to support a wider range of | |||
# values, includign true / false. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo s/includign/including/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
Any updates on this? Since it's a bugfix and not a new feature it blocks a few things. |
On hold until Docker Engine 1.7 lands. |
Thank you! |
No description provided.