FROM docker.io/library/node:18-slim

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update -yq && \
    apt-get install -yqq \
                git \
		python3 \
		python3-distutils \
		make \
		zip \
		jq

RUN npm install -g pnpm

# Set our workdir. All subsequent commands will be relative to this path.
WORKDIR /workdir

CMD ["bash", "/workdir/ci/ci.sh"]