Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
HCookie committed Oct 17, 2024
1 parent d29dd4f commit 09591b0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#checkov:skip=CKV_DOCKER_2
#checkov:skip=CKV_DOCKER_3
FROM python:3.13-slim@sha256:2ec5a4a5c3e919570f57675471f081d6299668d909feabd8d4803c6c61af666c
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." \
LABEL com.github.actions.name="organizational_contributors" \
com.github.actions.description="GitHub Action that given an organization or repository, produces information about the contributors sorted by the organisation." \
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."
maintainer="@hcookie" \
org.opencontainers.image.url="https://github.com/HCookie/organizational_contributors" \
org.opencontainers.image.source="https://github.com/HCookie/organizational_contributors" \
org.opencontainers.image.documentation="https://github.com/HCookie/organizational_contributors" \
org.opencontainers.image.vendor="HCookie" \
org.opencontainers.image.description="GitHub Action that given an organization or repository, produces information about the contributors sorted by the organisation."

WORKDIR /action/workspace
COPY requirements.txt *.py /action/workspace/
Expand All @@ -20,5 +20,5 @@ RUN python3 -m pip install --no-cache-dir -r requirements.txt \
&& 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"]
CMD ["/action/workspace/contributors"]
ENTRYPOINT ["python3", "-m"]

0 comments on commit 09591b0

Please sign in to comment.