sptrakesh/jq

By sptrakesh

Updated over 1 year ago

Alpine image with jq from master branch

Image
0

619

Built using the following Dockerfile.

FROM alpine:latest as base

ENV LANG=en_US.utf8

RUN apk --no-cache upgrade \
  && apk add --no-cache git \
    linux-headers build-base binutils-gold autoconf automake libtool

WORKDIR /opt
RUN git clone https://github.com/stedolan/jq.git \
  && cd jq \
  && git submodule update --init \
  && autoreconf -fi \
  && ./configure --with-oniguruma=builtin --disable-maintainer-mode --enable-all-static \
  && make -j8 \
  && make install

FROM alpine:latest
MAINTAINER Rakesh Vidyadharan <rakesh@sptci.com>
ENV LANG=en_US.utf8
COPY --from=base /opt/jq/jq /usr/bin/

Docker Pull Command

docker pull sptrakesh/jq