2024-07-16 19:12:53 +00:00
|
|
|
FROM docker.io/library/alpine:3.20.1 AS build
|
2023-03-26 13:53:33 +00:00
|
|
|
|
|
|
|
ARG JQ_VERSION
|
|
|
|
|
|
|
|
RUN set -ex && \
|
|
|
|
apk update && \
|
|
|
|
apk upgrade && \
|
|
|
|
apk add jq
|
|
|
|
|
|
|
|
# NOTE: Upstream versioning breaks
|
|
|
|
# RUN [[ ${JQ_VERSION} == "" ]]; apk add jq
|
|
|
|
# RUN [[ ${JQ_VERSION} != "" ]]; apk add jq=${JQ_VERSION}
|
|
|
|
|
|
|
|
WORKDIR /workspace
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/bin/jq" ]
|