Make binary executable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8eb849b671
commit
25d21e11b6
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user