-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add process_agent.build_docker_agent task (#4627)
Adds a process_agent.build_docker_agent which can be used to quickly build a docker image containing custom builds of the system-probe and process-agent. This is useful for in container environments.
- Loading branch information
Showing
2 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ARG AGENT_BASE=datadog/agent:latest | ||
FROM $AGENT_BASE | ||
|
||
# include some useful dev tools since this will be used or development | ||
RUN apt-get update -y && apt-get install -y jq conntrack netcat dnsutils | ||
|
||
# inv -e process-agent.build-dev-image will set up a temporary | ||
# build directory where this Dockerfile and the necessary binaries | ||
# are in the same directory | ||
COPY process-agent /opt/datadog-agent/embedded/bin/process-agent | ||
COPY system-probe /opt/datadog-agent/embedded/bin/system-probe |