-
Notifications
You must be signed in to change notification settings - Fork 15
/
Dockerfile
24 lines (21 loc) · 1.25 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#checkov:skip=CKV_DOCKER_2
#checkov:skip=CKV_DOCKER_3
FROM python:3.13-slim@sha256:f41a75c9cee9391c09e0139f7b49d4b1fbb119944ec740ecce4040626dc07bed
LABEL com.github.actions.name="contributors" \
com.github.actions.description="GitHub Action that given an organization or repository, produces information about the contributors over the specified time period." \
com.github.actions.icon="users" \
com.github.actions.color="green" \
maintainer="@zkoppert" \
org.opencontainers.image.url="https://github.com/github/contributors" \
org.opencontainers.image.source="https://github.com/github/contributors" \
org.opencontainers.image.documentation="https://github.com/github/contributors" \
org.opencontainers.image.vendor="GitHub" \
org.opencontainers.image.description="GitHub Action that given an organization or repository, produces information about the contributors over the specified time period."
WORKDIR /action/workspace
COPY requirements.txt *.py /action/workspace/
RUN python3 -m pip install --no-cache-dir -r requirements.txt \
&& apt-get -y update \
&& apt-get -y install --no-install-recommends git=1:2.39.5-0+deb12u1 \
&& rm -rf /var/lib/apt/lists/*
CMD ["/action/workspace/contributors.py"]
ENTRYPOINT ["python3", "-u"]