Downloading oc-compliance on ppc64le

My team is working with the OpenShift Container Platforms Optional Operator – Compliance Operator. The Compliance Operator has a supporting tool oc-compliance.

One tricky element was downloading the oc-compliance plugin and I’ve documented the steps here to help


  1. Navigate to

If Prompted, Login with your Red Hat Network id.

  1. Under Tokens, select Pull secret, then click Download

  2. Copy the pull-secret to your working directory

  3. Make the .local/bin directory to drop the plugin.

$ mkdir -p ~/.local/bin
  1. Run the oc-compliance-rhel8 container image.
$ podman run --authfile pull-secret --rm -v ~/.local/bin:/mnt/out:Z --arch ppc64le /bin/cp /usr/bin/oc-compliance /mnt/out/
Trying to pull
Getting image source signatures
Checking if image destination supports signatures
Copying blob 847f634e7f1e done  
Copying blob 7643f185b5d8 done  
Copying blob d6050ae37df3 done  
Copying config 2f0afdf522 done  
Writing manifest to image destination
Storing signatures
  1. Check the file is ppc64le
$ file ~/.local/bin/oc-compliance 
/root/.local/bin/oc-compliance: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /lib64/, for GNU/Linux 2.6.32, BuildID[sha1]=d5bff511ee48b6cbc6afce6420e780da2f0eacdc, not stripped

If it doesn’t work, you can always verify your architecture of the machine podman is running on:

$ arch

It should say ppc64le.

You’ve seen how to download the ppc64le build.







Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.