Chapter 2. Installing the Conforma command line
Prerequisites
- A working Red Hat Trusted Artifact Signer installation on Red Hat OpenShift Container Platform (OCP) version 4.13 or higher.
-
A workstation with the
cosignandocbinary files installed. - Access to the OCP web console.
Procedure
Download the
ecbinary file from the OCP cluster.- Log in to the OCP web console. From the home page, click the ? icon, select Command line tools, go to the ec download section, then click the link for your platform.
Open a terminal on your workstation, and decompress the binary
.gzfile by running the following command:$ gunzip ec-amd64.gzMake the binary executable by running the following command:
$ chmod +x ec-amd64
Move and rename the binary to a location within your
$PATHenvironment:$ sudo mv ec-amd64 /usr/local/bin/ec
Verification
-
Run the
ec versioncommand. The result should be the version of the Conforma CLI that you just installed.