Skip to content

Commit

Permalink
MULTIARCH-4655: add support for DISA-STIG on Power
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
  • Loading branch information
prb112 committed Oct 10, 2024
1 parent 2d2175c commit 355980f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfiles/ocp4_content
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ RUN if [ "$(uname -m)" == "x86_64" ]; then \
# by these profiles in the data stream without creating a profile for them.
grep -lr 'documentation_complete: false' ./products | xargs -I '{}' \
sed -i -e 's/\(documentation_complete: \).*/\1true/' -e '/documentation_complete/a hidden: true' {}; \
fi && \
# STIG profiles for Power
if [ "$(uname -m)" = "ppc64le" ]; then \
find products/rhcos4 -name "*stig*.profile" -exec sed -i 's/\(documentation_complete: \).*/\1true/' '{}' \; && \
find products/ocp4 -name "*stig*.profile" -exec sed -i 's/\(documentation_complete: \).*/\1true/' '{}' \; \
fi

# Build the OpenShift, EKS, and RHCOS content for x86 architectures. Only build
Expand Down

0 comments on commit 355980f

Please sign in to comment.