Move Go() promise-like func from utils to pkg/promise

This is the first of two steps to break the archive package's dependence
on utils so that archive may be moved into pkg.  Also, the `Go()`
function is small, concise, and not specific to the docker internals, so
it is a good candidate for pkg.

Signed-off-by: Rafe Colton <rafael.colton@gmail.com>
Move Matches() file path matching function into pkg/fileutils

This is the second of two steps to break the archive package's
dependence on utils so that archive may be moved into pkg. `Matches()`
is also a good candidate pkg in that it is small, concise, and not
specific to docker internals

Signed-off-by: Rafe Colton <rafael.colton@gmail.com>
Move archive package into pkg/archive

Now that the archive package does not depend on any docker-specific
packages, only those in pkg and vendor, it can be safely moved into pkg.

Signed-off-by: Rafe Colton <rafael.colton@gmail.com>
Add missing "tag" parameter to tag API

Closes #4877

Signed-off-by: Doug Davis <dug@us.ibm.com>
Edits and fixes to Dockerfile Best Practices based on review feedback.

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)
Create registry_api_client_libraries.md
Signed-off-by: Konrad Kleine <konrad.wilhelm.kleine@gmail.com>
Add registry_api_client_libraries.md to mkdocs.yml

Signed-off-by: Konrad Kleine <konrad.wilhelm.kleine@gmail.com>
Update host_integration.md
bump Go to 1.3.3

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #8302 from rafecolton/move_archive_package_to_pkg

Move archive package to pkg
Merge pull request #8340 from unclejack/bump_go_to_1.3.3

bump Go to 1.3.3
Merge pull request #8313 from duglin/Issue4877

Add missing "tag" parameter to tag API - Issue #4877
Add a note about using an open schema model

Closes: #4787

Signed-off-by: Doug Davis <dug@us.ibm.com>
Merge pull request #8316 from duglin/Issue4787

Add a note about using an open schema model - Issue #4787
registry: getting Endpoint ironned out

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Update libtrust version

Updated to version of libtrust with the trust graph implementation

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
fix help message for mkimage debootstrap with components

debootstrap needs the suite as the second argument, for this the script
reorders arguments beginning with a minus but components separated by
space, as stated by the help message, is not handled and will lead to
the rootfs being passed as suite to debootstrap.
The poor mans solution is to fix the help message to pass the long
option as one argument.

Signed-off-by: Julian Taylor <jtaylor.debian@googlemail.com>
Merge pull request #8337 from tjwebb123/patch-1

Update host_integration.md
Add erikh as maintainer of pkg/proxy

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #8350 from erikh/add_erikh_maintainer_proxy

Add erikh as maintainer of pkg/proxy