diff --git a/Dockerfile b/Dockerfile index 3c926fe..c796fa0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,11 +10,13 @@ ARG REPO_USERNAME ARG REPO_PASSWORD ADD https://${REPO_USERNAME}:${REPO_PASSWORD}@sn.itch.fyi/Repository/bin/VMware/ovftool/4.4.x/${OVFTOOL_INSTALLER} /tmp/ovftool-installer +RUN openssl s_client -connect api.github.com:443 -msg RUN apk --update add --no-cache \ + curl \ jq && \ - wget -qO- 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 | endswith("yq_linux_amd64")) | .browser_download_url' | \ - xargs -I {} wget -qO /tmp/yq {} && \ + xargs -I {} curl -L -o /tmp/yq {} && \ chmod +x /tmp/yq FROM debian:11-slim