summaryrefslogtreecommitdiff
path: root/docker/api/build.py
Commit message (Collapse)AuthorAgeFilesLines
* Properly fill out auth headers in APIClient.build when usingcompose4171_build_auth_headersJoffrey F2016-12-011-3/+19
| | | | | | a credentials store Signed-off-by: Joffrey F <joffrey@docker.com>
* Rename Client -> DockerClientdocker_clientJoffrey F2016-11-281-2/+2
| | | | | | | Replace references to old Client with APIClient Moved contents of services.md to appropriate locations Signed-off-by: Joffrey F <joffrey@docker.com>
* Add docstrings to low-level APIBen Firshman2016-11-221-0/+83
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Add labels and shmsize arguments to the image buildRyan Belgrave2016-11-081-1/+18
| | | | Signed-off-by: Ryan Belgrave <Ryan.Belgrave@target.com>
* Pass X-Registry-Auth when building an imageJustin Michalicek2016-07-121-3/+3
| | | | | | | | | | | | * Initialize headers variable in BuildApiMixin.build() as a dict rather than as None. This way the correct object gets passed to _set_auth_headers() even if no headers were set in build() * Changing object from None to {} in BuildApiMixin._set_auth_headers() removed because it changes the object reference, so has no effect on calling code. Signed-off-by: Justin Michalicek <jmichalicek@gmail.com>
* Make gzip encoding optionalJoffrey F2016-03-221-4/+9
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix line-spacing for buildMichael Sander2016-03-221-1/+2
| | | Signed-off-by: Michael Sander <michael.sander@docketalarm.com>
* Encode the tar ball with gzipMichael Sander2016-03-221-1/+2
| | | | | | Gzipping this tarball can greatly reduce the time it takes to send a docker file. Signed-off-by: speedplane <mes65@cornell.edu>
* Support 'buildargs' parameter for docker 1.9.Leonty2015-11-101-1/+10
| | | | Signed-off-by: Leonty Balovnev <tigreavecdesailes@gmail.com>
* Generic skip decorator for low API version accessible to all testsJoffrey F2015-09-161-2/+2
| | | | | | | | | | Add simpler version comparison functions Add decorator to enforce minimum version in API methods Fix utils imports Add minimum_version decorators on API methods that needed it GroupAdd test requires API version >= 1.20 Signed-off-by: Joffrey F <joffrey@docker.com>
* Move client internals back to Client class. Remove obsolete ClientBase classapi_splitupJoffrey F2015-09-111-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Split different APIs into several mixins for clarity / easier maintenanceJoffrey F2015-09-111-0/+132
Signed-off-by: Joffrey F <joffrey@docker.com>