FROM node:22-bookworm # Install Docker client (dind sidecar provides the daemon) RUN apt-get update && \ apt-get install -y --no-install-recommends \ docker.io \ git \ curl \ ca-certificates && \ rm -rf /var/lib/apt/lists/* # Verify installations RUN docker --version && node --version && git --version