FROM ubuntu:24.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y --no-install-recommends \
    git \
    openssh-client \
    ansible-core \
    python3 \
    sshpass \
    ca-certificates \
    curl \
    nodejs \
    npm \
    && npm install -g @bitwarden/cli \
    && ansible-galaxy collection install ansible.posix community.general \
    && rm -rf /var/lib/apt/lists/*

