Files
coverage-comment-action/Dockerfile

23 lines
473 B
Docker
Raw Normal View History

2021-07-23 23:53:16 +02:00
FROM python:3-slim
2021-09-25 11:54:56 +02:00
WORKDIR /src
2021-07-23 23:53:16 +02:00
RUN set -eux; \
apt-get update; \
2021-10-08 13:08:20 +02:00
apt-get install -y git build-essential libffi-dev; \
2021-09-25 09:50:58 +02:00
rm -rf /var/lib/apt/lists/*
2021-07-23 23:53:16 +02:00
2023-01-31 18:42:23 +01:00
# https://github.com/actions/runner-images/issues/6775
RUN git config --system --add safe.directory *
2021-09-25 11:54:56 +02:00
COPY src/requirements.txt ./
RUN pip install -r requirements.txt
COPY src/entrypoint /usr/local/bin/
COPY src/add-to-wiki /usr/local/bin/
COPY src/default.md.j2 /var/
WORKDIR /workdir
2021-07-23 23:53:16 +02:00
2021-09-25 11:54:56 +02:00
CMD [ "entrypoint" ]