package/docker-engine: split docker-{cli, engine}, bump to v18.09.0
authorChristian Stewart <christian@paral.in>
Tue, 27 Nov 2018 08:56:55 +0000 (00:56 -0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 3 Dec 2018 20:11:03 +0000 (21:11 +0100)
commitde336584d255bc27a52957323b2b320bb984151f
tree7aa7b4474c9ef466bd8b80e5652806da5331f09e
parenta03f66f43164a3bf77736fd5d0e597e819e1c9fd
package/docker-engine: split docker-{cli, engine}, bump to v18.09.0

Docker upstream has split the Docker daemon and CLI into separate
codebases:

 - github.com/docker/engine: daemon, "dockerd" binary
 - github.com/docker/cli: "docker" command line interface

This commit splits the docker-engine package into docker-engine and
docker-cli.  Conveniently, the Docker project has begun maintaining
two separate release-tagged repositories for the CLI and daemon as of
v18.06-ce-rc1. Previous versions were tagged in a common "docker-ce"
repository which makes compilation awkward for Buildroot, especially
due to some limitations in the new Go package infrastructure.

Docker repositories "engine" and "cli" recently started tagging
releases. Select the latest stable release, v18.09.0.

The CLI is no longer automatically included with the engine. Users
will need to select BR2_PACKAGE_DOCKER_CLI to produce a both docker
and dockerd target binaries.

Docker CLI can be statically compiled. This enables usage of the
system docker client binary to access the parent daemon API from
within containers, where shared libraries are not available.

While at it, drop the useless host-go dependency from docker-engine,
since it's already added by the golang-package infrastructure.

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas: drop the host-go dependency from both docker-cli and
docker-engine]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Config.in.legacy
package/Config.in
package/docker-cli/Config.in [new file with mode: 0644]
package/docker-cli/docker-cli.hash [new file with mode: 0644]
package/docker-cli/docker-cli.mk [new file with mode: 0644]
package/docker-engine/Config.in
package/docker-engine/docker-engine.hash
package/docker-engine/docker-engine.mk