Make binary executable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-03-16 12:37:47 +01:00
parent 8eb849b671
commit 25d21e11b6

View File

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