# GreptimeDB Dev Image

Builds and optionally pushes a development GreptimeDB Docker image.

- Repository: https://github.com/GreptimeTeam/greptimedb (6778 stars)
- Category: DevOps
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add GreptimeTeam/greptimedb --skill greptimedb-development-docker-image -g -a claude-code -y`
Codex: `npx skills add GreptimeTeam/greptimedb --skill greptimedb-development-docker-image -g -a codex -y`
Cursor: `npx skills add GreptimeTeam/greptimedb --skill greptimedb-development-docker-image -g -a cursor -y`
Gemini CLI: `npx skills add GreptimeTeam/greptimedb --skill greptimedb-development-docker-image -g -a gemini-cli -y`

## Description

Builds a development-only GreptimeDB Docker image from a local debug binary for local-cluster testing, and optionally pushes it to a development registry. Use when the user asks to package, build, tag, publish, or cross-build a non-release GreptimeDB or GreptimeDB Enterprise image for debugging.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# GreptimeDB Development Docker Image

## Goal

Package a locally built GreptimeDB binary into a **development-only** Docker
image for debugging and local-cluster testing, optionally push it to a
development registry, and retain the non-secret image settings in `.env` for
the next build. It is **not** a release-image workflow and must not be used to
publish a production or release artifact.

This skill follows the documented development-image build procedure:

- Build `greptime` with Cargo's `nightly` profile.
- Copy the target binary into the Docker build context as `./greptime`.
- Build the supplied `Dockerfile`, which uses Ubuntu 24.04 only as the runtime
  base image and exposes the `greptime` binary as its entrypoint.

## Inputs

Collect or discover the following before any build or push:

The rest: https://github.com/GreptimeTeam/greptimedb/blob/HEAD/.agents/skills/greptimedb-development-docker-image/SKILL.md
