-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
22 lines (16 loc) · 881 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM python:3.13-alpine
LABEL repository="https://github.com/step-security/publish-unit-test-result-action"
LABEL homepage="https://github.com/step-security/publish-unit-test-result-action"
LABEL com.github.actions.name="Publish Test Results"
LABEL com.github.actions.description="A GitHub Action to publish test results."
LABEL com.github.actions.icon="check-circle"
LABEL com.github.actions.color="green"
RUN apk add --no-cache --upgrade expat libuuid
COPY python/requirements-post-3.8.txt /action/requirements.txt
RUN apk add --no-cache build-base libffi-dev; \
pip install --upgrade --force --no-cache-dir pip && \
pip install --upgrade --force --no-cache-dir -r /action/requirements.txt; \
apk del build-base libffi-dev
COPY python/publish /action/publish
COPY python/publish_test_results.py /action/
ENTRYPOINT ["python", "/action/publish_test_results.py"]