Skip to content

Commit

Permalink
fix: yq in spruce container
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrondelez committed Jun 20, 2024
1 parent 3a69421 commit 9f3fdfb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions spruce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ FROM alpine:latest
# This is the release of spruce to pull in.
ARG SPRUCE_VERSION=v1.26.0

RUN apk add -v --update bash python3 ca-certificates jq coreutils && \
apk add -v --virtual .build-deps curl py-pip && \
curl -sL "https://github.com/geofffranks/spruce/releases/download/${SPRUCE_VERSION}/spruce-linux-amd64" -o "/bin/spruce" && \
RUN apk add -v --update bash curl python3 ca-certificates jq yq-python coreutils && \
yq --version

RUN curl -sL "https://github.com/geofffranks/spruce/releases/download/${SPRUCE_VERSION}/spruce-linux-amd64" -o "/bin/spruce" && \
chmod +x /bin/spruce && \
pip install --upgrade yq && \
apk del -v --purge .build-deps && \
rm -rf /var/cache/apk/*
/bin/spruce --version

ENTRYPOINT [ "/bin/spruce" ]

0 comments on commit 9f3fdfb

Please sign in to comment.