A builder for the excellent ijq (interactive jq) that I can use on my Raspberry Pi
10K+
I use the excellent ijq and often want to use it on my arm64 based Raspberry Pi. So I set up this image to build it on that platform, and run it too.
Built with:
# syntax=docker/dockerfile:1
FROM golang:1.20-alpine AS build
RUN apk add git make scdoc
RUN git clone https://git.sr.ht/~gpanders/ijq/
RUN cd ijq && make prefix=/usr install
FROM alpine as prod
RUN apk add jq
COPY --from=build /usr/bin/ijq /usr/bin/
ENTRYPOINT ["ijq"]
CMD ["-V"]
I can use this as a base for building working containers that need ijq, but also simply run ijq from this image like this:
docker run --rm -it ijq
Content type
Image
Digest
sha256:22cf317bd…
Size
6.9 MB
Last updated
almost 3 years ago
docker pull qmacro/ijq