diff --git a/Dockerfile b/Dockerfile index e0c189f..094a0f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,9 @@ RUN apk --update add --no-cache \ curl \ jq && \ curl -L https://api.github.com/repos/mikefarah/yq/releases/latest | \ - jq -r '.assets[] | select(.name | contains("yq_linux_amd64")) | .browser_download_url' | \ - xargs -I {} curl -L -o /tmp/yq {} + jq -r '.assets[] | select(.name | endswith("yq_linux_amd64")) | .browser_download_url' | \ + xargs -I {} curl -L -o /tmp/yq {} && \ + chmod +x /tmp/yq FROM debian:11-slim