27 lines
634 B
Docker
27 lines
634 B
Docker
# CI harness image mirroring the Actions environment used by act_runner
|
|
FROM ghcr.io/catthehacker/ubuntu:act-22.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install --yes --no-install-recommends \
|
|
ca-certificates \
|
|
curl \
|
|
git \
|
|
gnupg \
|
|
jq \
|
|
make \
|
|
python3 \
|
|
python3-pip \
|
|
python3-venv \
|
|
docker.io \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Configure git to trust any mounted workspace path inside the container
|
|
RUN git config --system --add safe.directory '*'
|
|
|
|
WORKDIR /workspace
|
|
|
|
ENTRYPOINT ["/bin/bash", "-lc"]
|
|
CMD ["sleep infinity"]
|