FROM alpine:3.21@sha256:48b0309ca019d89d40f670aa1bc06e426dc0931948452e8491e3d65087abc07d

RUN apk add --no-cache \
      ansible \
      aws-cli \
      bash \
      bind-tools \
      ca-certificates \
      curl \
      git \
      jq \
      openssh-client \
      openssl \
      python3 \
      py3-pip \
      rsync \
      sops \
      sshpass

RUN pip3 install --break-system-packages --no-cache-dir \
      proxmoxer \
      requests

RUN ansible-galaxy collection install \
      community.proxmox \
      community.docker
