Azure Linux Dev Tools is a collection of utilities useful for development of the Azure Linux distro.
azldev is a developer tool for working on the
Azure Linux distro.
It supports:
- Parsing, resolving, and querying TOML-based metadata defining the Azure Linux distro.
- Preparing the sources for a source component for building with
mock,koji, or similar standard build tool/service. - Fetching source archives from lookaside caches.
- Developer convenience utilities for locally building individual packages and images.
-
Install
golangand other prerequisites via your system's package manager, e.g.:dnf install -y golang mock dnf-utils mock-rpmautospecNote:
mock-rpmautospecplugin hooksrpmautospecinto mock's build lifecycle. It pullsrpmautospecas a dependency which processes%autoreleaseand%autochangelogmacros in spec files. -
Install
azldev:go install github.com/microsoft/azure-linux-dev-tools/cmd/azldev@main -
To ensure you can build using
mockyou must be a member of themockgroup, e.g.:usermod -aG mock $USERNote that this may require re-login or
newgrpto ensure your environment registers the group update.
You can install completion extensions for azldev with your shell by running:
eval "$(azldev completion bash)"Similar support exists for fish and zsh.
To learn more about the TOML-based metadata that azldev supports, azldev's
command-line usage, or other usage information, please consult
this repo's User Guide.
Please see our Contribution Guidelines for our project.
For development setup and workflow, please consult our Developer Guide.
Have questions, found a bug, or need a new feature? Open an issue in our GitHub repository.
For security issues, please see the security policy.
This project is licensed under the MIT License. See the LICENSE file for details.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.