Skip to content

Commit 5d98e2a

Browse files
authored
add jq (#7)
1 parent 50e6381 commit 5d98e2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ ARG AWS_CLI_VERSION=2.11.6
99
# https://hub.docker.com/_/python/tags?page=1&name=alpine
1010
ARG PYTHON_ALPINE_VERSION=3.10.10-alpine3.17
1111

12+
# https://github.com/jqlang/jq/pkgs/container/jq
13+
ARG JQ_VERSION=1.7.1
14+
1215
FROM python:${PYTHON_ALPINE_VERSION} as builder
1316

1417
ARG AWS_CLI_VERSION
@@ -45,6 +48,7 @@ RUN rm -rf \
4548
-delete
4649

4750
FROM python:${PYTHON_ALPINE_VERSION} as python
51+
FROM ghcr.io/jqlang/jq:${JQ_VERSION} as jq
4852
# build the final image
4953
FROM ghcr.io/runatlantis/atlantis:v${ATLANTIS_VERSION}
5054

@@ -54,3 +58,4 @@ COPY --from=builder /usr/local/aws-cli/ /usr/local/aws-cli/
5458
COPY --from=builder /aws-cli-bin/ /usr/local/bin/
5559
COPY --from=python /usr/local/bin/ /usr/local/bin/
5660
COPY --from=python /usr/local/lib/ /usr/local/lib/
61+
COPY --from=jq /jq /usr/local/bin/

0 commit comments

Comments
 (0)