jq-docker/Dockerfile
CSRBot 7b1cf81cfc
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
chore(deps): update dependency docker.io/library/alpine to v3.17.3
2023-03-29 20:02:09 +02:00

17 lines
324 B
Docker

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