diff --git a/Dockerfile b/Dockerfile index 2fa1922a..2872032e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ FROM alpine:3.22 LABEL org.opencontainers.image.source=https://github.com/helmfile/helmfile -RUN apk add --no-cache ca-certificates git bash curl jq openssh-client gnupg +RUN apk add --no-cache ca-certificates git bash curl jq yq openssh-client gnupg ARG TARGETARCH TARGETOS TARGETPLATFORM diff --git a/Dockerfile.debian-stable-slim b/Dockerfile.debian-stable-slim index 3e761e39..e80dc89f 100644 --- a/Dockerfile.debian-stable-slim +++ b/Dockerfile.debian-stable-slim @@ -25,6 +25,9 @@ RUN apt update -qq && \ ARG TARGETARCH TARGETOS TARGETPLATFORM +RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_${TARGETOS}_${TARGETARCH} -O /usr/local/bin/yq &&\ + chmod +x /usr/local/bin/yq + # Set Helm home variables so that also non-root users can use plugins etc. ARG HOME="/helm" ENV HOME="${HOME}" diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index 14c71d24..11490b0d 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -25,6 +25,9 @@ RUN apt update -qq && \ ARG TARGETARCH TARGETOS TARGETPLATFORM +RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_${TARGETOS}_${TARGETARCH} -O /usr/local/bin/yq &&\ + chmod +x /usr/local/bin/yq + # Set Helm home variables so that also non-root users can use plugins etc. ARG HOME="/helm" ENV HOME="${HOME}"