Skip to content

Commit 6fb103a

Browse files
fix: add labels to Dockerfile (#50)
* fix: add labels to Dockerfile Signed-off-by: Carlos Feria <[email protected]> * fix rpm repos Signed-off-by: Carlos Feria <[email protected]> * docs: add docs for konflux and RPM Signed-off-by: Carlos Feria <[email protected]> --------- Signed-off-by: Carlos Feria <[email protected]>
1 parent 80bb733 commit 6fb103a

File tree

4 files changed

+603
-21
lines changed

4 files changed

+603
-21
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ LABEL name="securesign/rhtas-console-ui" \
2525
description="RHTAS Console - User Interface" \
2626
help="For more information visit https://github.com/securesign/" \
2727
license="Apache License 2.0" \
28-
maintainer="[email protected]" \
2928
summary="RHTAS Console - User Interface" \
3029
url="https://github.com/securesign/rhtas-console-ui" \
3130
usage="podman run -p 80 -v securesign/rhtas-console-ui:latest" \
@@ -34,7 +33,8 @@ LABEL name="securesign/rhtas-console-ui" \
3433
io.openshift.expose-services="80:http" \
3534
io.openshift.tags="operator,securesign,rhtas,ui,nodejs22" \
3635
io.openshift.min-cpu="100m" \
37-
io.openshift.min-memory="350Mi"
36+
io.openshift.min-memory="350Mi" \
37+
com.redhat.component="rhtas-console"
3838

3939
COPY --from=builder /opt/app-root/src/dist /opt/app-root/dist/
4040

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ podman run -it $BASE_IMAGE cat /etc/yum.repos.d/ubi.repo > ubi.repo
9090

9191
Make sure the `ubi.repo` file has all repositories enabled `enabled = 1` and then:
9292

93+
Also make sure the `ubi.repo` contains only repositories from https://github.com/release-engineering/rhtap-ec-policy/blob/main/data/known_rpm_repositories.yml . Change the repository names manually if needed. E.g.
94+
95+
- `ubi-9-for-baseos-rpms` change it to `ubi-9-for-x86_64-baseos-rpms` as only the latter is an accepted repository in Konflux.
96+
97+
Finally execute the command below to generage th lock file:
98+
9399
```
94100
rpm-lockfile-prototype --image $BASE_IMAGE rpms.in.yaml
95101
```

0 commit comments

Comments
 (0)