newrelic

Container Build — Development skill for Claude Code

Development community

Container Build Skill.

How to install Container Build

Installs to ~/.claude/skills/newrelic-infrastructure-agent-container-build/SKILL.md

Terminal
mkdir -p ~/.claude/skills/newrelic-infrastructure-agent-container-build && curl -fsSL https://raw.githubusercontent.com/newrelic/infrastructure-agent/HEAD/.claude/skills/container-build.md -o ~/.claude/skills/newrelic-infrastructure-agent-container-build/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Container Build does

Container Build Skill

Build containerized Docker images for the New Relic infrastructure agent.

**IMPORTANT:** Never run publish or upload commands. Only build images locally. Do not execute any `make` targets that push or publish images to a registry.

Prerequisites

Agent binaries must be built first and available in `dist/`. Run one of:

make dist-for-os GOOS=linux
make dist-for-os GOOS=linux GOARCH=arm64

Linux Container Images

**Build base image (amd64, local load):

Alternatives in Development

  • E2e Devcontainer — Run E2E tests in a dev container (isolated environment) 1.6k ★
  • Devcontainer Features — Anthropic Dev Container Features, including Claude Code CLI 244 ★
  • Share Host Dir Into Silos — Expose an additional host folder to every local account silo by registering it with farm add-host-dir, which i 67 ★

Full documentation available on GitHub

View Source Repository