🌐 AI搜索 & 代理 主页
v20.10.6
Merge pull request #3042 from tiborvass/20.10-xx-build

[20.10 backport] dockerfile based binary building
tree: d7f44d075ad3f0cf1917ab5d4b4a9f672adfd1b2
  1. .circleci/
  2. .github/
  3. cli/
  4. cli-plugins/
  5. cmd/
  6. contrib/
  7. dockerfiles/
  8. docs/
  9. e2e/
  10. experimental/
  11. internal/
  12. kubernetes/
  13. man/
  14. opts/
  15. scripts/
  16. service/
  17. templates/
  18. vendor/
  19. .dockerignore
  20. .gitignore
  21. .golangci.yml
  22. .mailmap
  23. appveyor.yml
  24. AUTHORS
  25. codecov.yml
  26. CONTRIBUTING.md
  27. docker-bake.hcl
  28. docker.Makefile
  29. Dockerfile
  30. Jenkinsfile
  31. LICENSE
  32. MAINTAINERS
  33. Makefile
  34. NOTICE
  35. poule.yml
  36. README.md
  37. TESTING.md
  38. vendor.conf
  39. VERSION
README.md

build status Build Status

docker/cli

This repository is the home of the cli used in the Docker CE and Docker EE products.

Development

docker/cli is developed using Docker.

Build CLI from source:

$ docker buildx bake

Build binaries for all supported platforms:

$ docker buildx bake cross

Build for a specific platform:

$ docker buildx bake --set binary.platform=linux/arm64 

Build dynamic binary for glibc or musl:

$ USE_GLIBC=1 docker buildx bake dynbinary 

Run all linting:

$ make -f docker.Makefile lint

List all the available targets:

$ make help

In-container development environment

Start an interactive development environment:

$ make -f docker.Makefile shell

Legal

Brought to you courtesy of our legal counsel. For more context, please see the NOTICE document in this repo.

Use and transfer of Docker may be subject to certain restrictions by the United States and other governments.

It is your responsibility to ensure that your use and/or transfer does not violate applicable laws.

For more information, please see https://www.bis.doc.gov

Licensing

docker/cli is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.