Skip to content

Commit

Permalink
add jq (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
sblack4 authored Feb 23, 2024
1 parent 50e6381 commit 5d98e2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ ARG AWS_CLI_VERSION=2.11.6
# https://hub.docker.com/_/python/tags?page=1&name=alpine
ARG PYTHON_ALPINE_VERSION=3.10.10-alpine3.17

# https://github.com/jqlang/jq/pkgs/container/jq
ARG JQ_VERSION=1.7.1

FROM python:${PYTHON_ALPINE_VERSION} as builder

ARG AWS_CLI_VERSION
Expand Down Expand Up @@ -45,6 +48,7 @@ RUN rm -rf \
-delete

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

Expand All @@ -54,3 +58,4 @@ COPY --from=builder /usr/local/aws-cli/ /usr/local/aws-cli/
COPY --from=builder /aws-cli-bin/ /usr/local/bin/
COPY --from=python /usr/local/bin/ /usr/local/bin/
COPY --from=python /usr/local/lib/ /usr/local/lib/
COPY --from=jq /jq /usr/local/bin/

0 comments on commit 5d98e2a

Please sign in to comment.