-
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:4efa69bf17cfbd83a9942e60e2642335c3b397448e00410063a0421f9727c4c4
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"]