OpenShift Development | Build components
installer
Clone the git repository
cd ${GOHOME}/go/src/github.com/openshift/
git clone --recursive https://github.com/openshift/installer
cd installer
Build:
$(which time) -v hack/build.sh
Save it in your custom bin path:
cp -v bin/openshift-install ${MY_BIN}/openshift-install-$(git branch |grep ^'*' |awk '{print$2}')
machine-config-operator
Clone the git repository
cd ${GOHOME}/go/src/github.com/openshift/
git clone --recursive https://github.com/openshift/machine-config-operator
cd machine-config-operator
Build and push:
podman build -f Dockerfile.rhel7 -t quay.io/${QUAY_USER}/machine-config-operator:latest && \
podman push quay.io/${QUAY_USER}/machine-config-operator:latest
cluster-config-operator
Clone the git repository
cd ${GOHOME}/go/src/github.com/openshift/
git clone --recursive https://github.com/openshift/cluster-config-operator
cd cluster-config-operator
Build and push:
podman build -f Dockerfile.rhel7 -t quay.io/${QUAY_USER}/cluster-config-operator:latest && \
podman push quay.io/${QUAY_USER}/cluster-config-operator:latest