Docker file to generate kubeturbo container image according to redhat's requirement
As it will install pkgs from RedHat repos, it is necessary to build this image from a RHEL machine which has registered the subscription from RedHat.
docker build -t <imageName> .
Login redhat registry, and push the image:
docker login -u unused -e none registry.rhc4tp.openshift.com:443
docker tag $<imageName> registry.rhc4tp.openshift.com:443/$accountId/<imageName>
docker push registry.rhc4tp.openshift.com:443/$accountId/<imageName>
Login docker hub first:
docker login docker.io
Then build the image, and push it into docker hub.
docker tag $<imageName> docker.io/vmturbo/kubeturbo:<tag>
# or build it:
# docker build -t docker.io/vmturbo/kubeturbo:<tag>
docker push docker.io/vmturbo/kubeturbo:<tag>