File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM fedora:41
2
+ RUN dnf install -y koji python3-requests python3-pip
3
+ RUN pip install specfile
4
+ ADD pkg_in_pipe.py /
5
+ ENTRYPOINT ["/pkg_in_pipe.py" ]
Original file line number Diff line number Diff line change @@ -5,3 +5,22 @@ Generates an html report with the packages in the current tags.
5
5
# Requirements
6
6
7
7
An environmnt variable ` PLANE_TOKEN ` must be defined when running the generator.
8
+
9
+ # Run in docker
10
+
11
+ Before running in docker, the docker image must be built with:
12
+
13
+ ``` sh
14
+ docker build -t pkg_in_pipe .
15
+ ```
16
+
17
+ Several options are required to run the generator in docker:
18
+
19
+ * a ` PLANE_TOKEN ` environment variable with the rights required to request all the cards in the XCPNG project;
20
+ * a (read only) mount of a directory containing the requeried certificates to connect to koji in ` /root/.koji `
21
+ * a mount of the output directory in ` /output `
22
+ * the path of the generated report
23
+
24
+ ``` sh
25
+ docker run -v ~ /.koji:/root/.koji:z -e PLANE_TOKEN=< plane token> -v /out/dir:/output:z pkg_in_pipe /output/index.html
26
+ ```
You can’t perform that action at this time.
0 commit comments