ARG CI_TOOLS_BASE_IMAGE=127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-v1
ARG BUN_IMAGE=oven/bun:1.3.13-alpine

FROM ${BUN_IMAGE} AS bun-runtime
FROM ${CI_TOOLS_BASE_IMAGE}

COPY --from=bun-runtime /usr/local/bin/bun /usr/local/bin/bun
COPY --from=bun-runtime /usr/local/bin/bunx /usr/local/bin/bunx

RUN node --version \
  && npm --version \
  && bun --version \
  && git --version \
  && python3 --version \
  && docker --version \
  && ssh -V
