The Docker CLI is built, tested, and released for various platforms using a combination of tools and processes. Here are the steps involved in the build and release process:
Building the Docker CLI
The Docker CLI is built using the Go programming language, with the Golang Module name being github.com/docker/cli/docs/generate
. The build process involves running the make
command, which uses the Makefile
present in the repository. The Makefile
contains various targets that can be built, such as build
, test
, docker-build
, and docker-push
.
Here’s an example of how to build the Docker CLI using the make
command:
$ make