diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index e4159d9..b87000d 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -46,7 +46,7 @@ jobs: build_container: name: Container image container: catthehacker/ubuntu:act-latest - runs-on: dind-rootless + runs-on: dind needs: semrel_dryrun steps: - name: Checkout diff --git a/Dockerfile b/Dockerfile index ce55139..466d636 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM hashicorp/packer:light as packer FROM hashicorp/terraform:light as terraform -FROM alpine:latest AS download +FROM debian:11-slim AS download ENV OVFTOOL_VERSION=4.4.1-16812187 ENV OVFTOOL_INSTALLER=VMware-ovftool-${OVFTOOL_VERSION}-lin.x86_64.bundle @@ -10,10 +10,10 @@ 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 apk --update add --no-cache \ +RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ jq && \ - curl -vL https://api.github.com/repos/mikefarah/yq/releases/latest | \ + curl -kL https://api.github.com/repos/mikefarah/yq/releases/latest | \ jq -r '.assets[] | select(.name | endswith("yq_linux_amd64")) | .browser_download_url' | \ xargs -I {} curl -L -o /tmp/yq {} && \ chmod +x /tmp/yq