de336584d2
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>
67 lines
1.9 KiB
Plaintext
67 lines
1.9 KiB
Plaintext
config BR2_PACKAGE_DOCKER_ENGINE
|
|
bool "docker-engine"
|
|
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
help
|
|
Docker is a platform to build, ship,
|
|
and run applications as lightweight containers.
|
|
|
|
https://github.com/docker/docker
|
|
|
|
if BR2_PACKAGE_DOCKER_ENGINE
|
|
|
|
config BR2_PACKAGE_DOCKER_ENGINE_DAEMON
|
|
bool "docker daemon"
|
|
default y
|
|
depends on BR2_USE_MMU # docker-containerd
|
|
select BR2_PACKAGE_DOCKER_CONTAINERD # runtime dependency
|
|
select BR2_PACKAGE_DOCKER_PROXY # runtime dependency
|
|
select BR2_PACKAGE_IPTABLES # runtime dependency
|
|
select BR2_PACKAGE_SQLITE # runtime dependency
|
|
help
|
|
Build the Docker system daemon.
|
|
If not selected, will build client only.
|
|
|
|
config BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL
|
|
bool "build experimental features"
|
|
|
|
if BR2_PACKAGE_DOCKER_ENGINE_DAEMON
|
|
|
|
config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS
|
|
bool "btrfs filesystem driver"
|
|
depends on BR2_USE_MMU # btrfs-progs
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs
|
|
select BR2_PACKAGE_BTRFS_PROGS
|
|
help
|
|
Build the btrfs filesystem driver for Docker.
|
|
|
|
config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER
|
|
bool "devicemapper filesystem driver"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
|
|
depends on BR2_USE_MMU # lvm2
|
|
depends on !BR2_STATIC_LIBS # lvm2
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
|
|
select BR2_PACKAGE_LVM2
|
|
select BR2_PACKAGE_LVM2_APP_LIBRARY
|
|
help
|
|
Build the devicemapper filesystem driver for Docker.
|
|
|
|
config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS
|
|
bool "vfs filesystem driver"
|
|
depends on BR2_USE_WCHAR # gvfs
|
|
depends on BR2_USE_MMU # gvfs
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # gvfs
|
|
select BR2_PACKAGE_GVFS
|
|
help
|
|
Build the vfs filesystem driver for Docker.
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
comment "docker-engine needs a toolchain w/ threads"
|
|
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|