config BR2_PACKAGE_DOCKER_CLI
	bool "docker-cli"
	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
	depends on BR2_PACKAGE_HOST_GO_TARGET_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/cli

if BR2_PACKAGE_DOCKER_CLI

config BR2_PACKAGE_DOCKER_CLI_STATIC
	bool "build static client"
	depends on !BR2_STATIC_LIBS
	help
	  Build a static docker client.

endif

comment "docker-cli needs a toolchain w/ threads"
	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
	depends on !BR2_TOOLCHAIN_HAS_THREADS
