Skip to content
Myr

Dockerfile

This file

Path

Dockerfile

34 lines · 713 bytes · Dockerfile

Last changed by

Disable Valgrind by default during testing (#3269)itchynybefore adoption5df471f

History of this file

Take it

1FROM debian:12-slim AS builder23ENV DEBIAN_FRONTEND=noninteractive \4    DEBCONF_NONINTERACTIVE_SEEN=true \5    LC_ALL=C.UTF-8 \6    LANG=C.UTF-878RUN apt-get update \9 && apt-get install -y \10      build-essential \11      autoconf \12      libtool \13      git \14 && apt-get clean \15 && rm -rf /var/lib/apt/lists/*1617WORKDIR /app18COPY . /app19RUN autoreconf -i \20 && ./configure \21      --disable-docs \22      --with-oniguruma=builtin \23      --enable-static \24      --enable-all-static \25      --prefix=/usr/local \26 && make -j$(nproc) \27 && make check VERBOSE=yes \28 && make install-strip2930FROM scratch3132COPY --from=builder /app/AUTHORS /app/COPYING /usr/local/bin/jq /33RUN ["/jq", "--version"]34ENTRYPOINT ["/jq"]