This repository contains the buildpack packaging for the Datadog Agent. See more information about buildpack development here.
The main logic can be found in the shell scripts under the lib
directory.
To execute the build
script, dpkg
needs to be installed.
On macOS, brew install dpkg
.
Run the following command from the root of the repository to build the buildpack with the latest agent:
REFRESH_ASSETS=1 ./build
If you want to build for a specific version of the agent, specify the VERSION environment variable.
VERSION=<AGENT_VERSION> REFRESH_ASSETS=1 ./build
This produces a datadog-cloudfoundry-buildpack.zip
file at the root of the repository that you can use directly with the CF CLI, or to build the datadog-application-monitoring tile.