-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (21 loc) · 844 Bytes
/
Dockerfile
File metadata and controls
26 lines (21 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM registry.access.redhat.com/ubi9/python-311:latest
ARG release=main
ARG version=latest
LABEL com.redhat.component prow-jobs-scraper
LABEL description "Fetching data about prow jobs to elasticsearch"
LABEL summary "Fetching data about prow jobs to elasticsearch"
LABEL io.k8s.description "Fetching data about prow jobs to elasticsearch"
LABEL distribution-scope public
LABEL name prow-jobs-scraper
LABEL release ${release}
LABEL version ${version}
LABEL url https://github.com/openshift-assisted/prow-jobs-scraper
LABEL vendor "Red Hat, Inc."
LABEL maintainer "Red Hat"
# License
USER 0
RUN mkdir /licenses/ && chown 1001:0 /licenses/
USER 1001
COPY LICENSE /licenses/
COPY --chown=1001:0 . .
RUN pip install --upgrade pip setuptools>=74.1.2 pip-licenses && make install && pip-licenses -l -f json --output-file /licenses/licenses.json