Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.06 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.06 KB

docker-jq

A tiny ~2.5MB* statically linked jq docker image. Since jq only supports writing to stdout a separate image tag is provided that comes packaged alongside busybox.

* The busybox image variant adds an additional ~1MB to the image size.

Supports all upstream alpine docker platforms:

  • linux/amd64
  • linux/arm64
  • linux/arm/v7
  • linux/arm/v6
  • linux/386
  • linux/ppc64le
  • linux/s390x
  • linux/riscv64

Why

This is a purpose-built image that works great as a Kubernetes init container.

Pull

docker pull ghcr.io/egladman/jq:1.6
docker pull ghcr.io/egladman/jq:1.6-busybox
docker pull docker.io/egladman/jq:1.6
docker pull docker.io/egladman/jq:1.6-busybox

Usage

docker run --rm jq:1.6 jq --version

Build

make
make IMG_VARIANT=busybox

Acknowledgements