File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,11 @@ LABEL \
59
59
io.openshift.tags="conforma ec opa cosign sigstore"
60
60
61
61
# Install tools we want to use in the Tekton task
62
- RUN microdnf upgrade --assumeyes --nodocs --setopt=keepcache=0 --refresh && microdnf -y --nodocs --setopt=keepcache=0 install git-core jq
62
+ # Sed replace to use archful repo ids for better SBOM data
63
+ RUN \
64
+ sed -i /etc/yum.repos.d/ubi.repo -e 's/^\[ ubi-9-/\[ ubi-9-for-$basearch-/' && \
65
+ microdnf upgrade --assumeyes --nodocs --setopt=keepcache=0 --refresh && \
66
+ microdnf -y --nodocs --setopt=keepcache=0 install git-core jq
63
67
64
68
# Copy all the binaries so they're available to extract and download
65
69
# (Beware if you're testing this locally it will copy everything from
Original file line number Diff line number Diff line change @@ -62,7 +62,11 @@ LABEL \
62
62
com.redhat.component="ec-cli"
63
63
64
64
# Install tools we want to use in the Tekton task
65
- RUN microdnf upgrade --assumeyes --nodocs --setopt=keepcache=0 --refresh && microdnf -y --nodocs --setopt=keepcache=0 install git-core jq
65
+ # Sed replace to use archful repo ids for better SBOM data
66
+ RUN \
67
+ sed -i /etc/yum.repos.d/ubi.repo -e 's/^\[ubi-9-/\[ubi-9-for-$basearch-/' && \
68
+ microdnf upgrade --assumeyes --nodocs --setopt=keepcache=0 --refresh && \
69
+ microdnf -y --nodocs --setopt=keepcache=0 install git-core jq
66
70
67
71
# Copy all the binaries so they're available to extract and download
68
72
# (Beware if you're testing this locally it will copy everything from
You can’t perform that action at this time.
0 commit comments