Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build agent-package for deb_arm64 and no prebuilt packages or script found too #436

Open
SupercoolBD opened this issue Sep 4, 2023 · 1 comment

Comments

@SupercoolBD
Copy link

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!

@julien-lebot
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants