Skip to content

Commit

Permalink
feat: add yq cli to scale set container image (#40)
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Klick <nathan@swirldslabs.com>
  • Loading branch information
nathanklick authored Sep 3, 2024
1 parent 2c4359f commit cbcf7fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scaleset/runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ RUN export ARCH=${TARGETARCH} \
| tar -xz --wildcards --strip-components=2 -C /usr/local/bin "*/bin/gh" \
&& chmod +x /usr/local/bin/gh

ARG YQ_CLI_VERSION=4.44.3
RUN export ARCH=${TARGETARCH} \
&& if [ "${ARCH}" = "i386" ]; then export ARCH=386 ; fi \
&& curl -fLo /usr/local/bin/yq \
"https://github.com/mikefarah/yq/releases/download/v${YQ_CLI_VERSION}/yq_linux_${ARCH}" \
&& chmod +x /usr/local/bin/yq

ARG COMPOSE_VERSION=2.29.2
RUN export RUNNER_ARCH=${TARGETARCH} \
&& if [ "${RUNNER_ARCH}" = "amd64" ]; then export DOCKER_ARCH=x86_64 ; fi \
Expand Down

0 comments on commit cbcf7fa

Please sign in to comment.