Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 527 Bytes

image-build.md

File metadata and controls

29 lines (20 loc) · 527 Bytes

Kube-compare image build

Build container

make image-build

Copy binary locally

  • One option it to build the binary locally
make cross-build
  • Another option is to extract the binary from the container
docker create --name kube-compare kube-compare:latest
docker cp kube-compare:/usr/share/openshift/linux_amd64/kube-compare.rhel9 ./kube-compare.rhel9
docker rm -f kube-compare

# run 
export PATH=$PWD:$PATH
mv kube-compare.rhel9 kubectl-cluster_compare
oc cluster-compare -h