Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 2. Installing the Enterprise Contract command line
Prerequisites
- A working Red Hat Trusted Artifact Signer installation on Red Hat OpenShift Container Platform version 4.13 or higher.
-
A workstation with the
cosign
andoc
binary files installed. - Access to the OpenShift web console.
Procedure
Download the
ec
binary file from the OpenShift cluster.- Log in to the OpenShift 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, decompress the binary
.gz
file, then set the execute bit:Example
gunzip ec-amd64.gz chmod +x ec-amd64
Move and rename the binary to a location within your
$PATH
environment:Example
sudo mv ec-amd64 /usr/local/bin/ec
Verification
-
Run the
ec version
command. The result should be the version of the Enterprise Contract CLI that you just installed.