You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was led to https://github.com/DataDog/datadog-agent/blob/main/docs/dev/agent_omnibus.md#building-inside-docker-linux-only-recommended
I cloned this repo and run the following command inside the folder datadog-agent-buildimages
and use the command sudo docker run -v "$PWD:/go/src/github.com/DataDog/datadog-agent" -v "/tmp/omnibus:/omnibus" -v "/tmp/opt/datadog-agent:/opt/datadog-agent" -v"/tmp/gems:/gems" --workdir=/go/src/github.com/DataDog/datadog-agent datadog/agent-buildimages-deb_arm64 inv -e agent.omnibus-build --base-dir=/omnibus --gem-path=/gems to build a deb for my machine. I got errors with No idea what 'agent.omnibus-build' is!
The text was updated successfully, but these errors were encountered:
Hey @SupercoolBD,
The command is supposed to be ran from the datadog-agent repository actually, and not the datadog-agent-buildimages repository.
That's because the agent.omnibus-build is an invoke task that exist in the datadog-agent repository.
Could you try again from the datadog-agent repository?
As instructed by the dashboard https://us5.datadoghq.com/account/settings/agent/7?platform=source
Follow these instructions to build the Agent 7 .deb and .rpm packages on Linux, using our Docker setup.
I was led to https://github.com/DataDog/datadog-agent/blob/main/docs/dev/agent_omnibus.md#building-inside-docker-linux-only-recommended
I cloned this repo and run the following command inside the folder
datadog-agent-buildimages
and use the command
sudo docker run -v "$PWD:/go/src/github.com/DataDog/datadog-agent" -v "/tmp/omnibus:/omnibus" -v "/tmp/opt/datadog-agent:/opt/datadog-agent" -v"/tmp/gems:/gems" --workdir=/go/src/github.com/DataDog/datadog-agent datadog/agent-buildimages-deb_arm64 inv -e agent.omnibus-build --base-dir=/omnibus --gem-path=/gems
to build a deb for my machine. I got errors with No idea what 'agent.omnibus-build' is!The text was updated successfully, but these errors were encountered: