Skip to content

Trying to build DEB package fails (docker) #4154

Open

Description

I am trying to build a package for a changed version of the dd agent locally. I am using the docker based way (on Linux) described in the manual by running:

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_x64 inv -e agent.omnibus-build --base-dir=/omnibus --gem-path=/gems

My results are:

[PathFetcher: datadog-agent] I | 2019-09-12T18:29:16+00:00 | Copying from `..'
bundler: failed to load command: omnibus (/gems/ruby/2.3.0/bin/omnibus)
Errno::EEXIST: File exists @ syserr_fail2_in - /omnibus/src/datadog-agent/src/github.com/DataDog/datadog-agent/vendor/github.com/coreos/etcd/cmd/etcd/..

I also tried building it on a Mac using the manual command and that also fails. Anybody have a moment to help and see what is wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    [deprecated] team/agent-coreDeprecated. Use metrics-logs / shared-components labels instead..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions