jq-docker/Dockerfile
CSRBot 13894b5a71
All checks were successful
continuous-integration/drone/pr Build is passing
chore(deps): update docker.io/library/alpine docker tag to v3.20.1
2024-06-20 19:12:30 +00:00

17 lines
324 B
Docker

FROM docker.io/library/alpine:3.20.1 AS build
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" ]