# # This is the official OpenShift image. It has as its entrypoint the OpenShift # all-in-one binary. # # The standard name for this image is openshift/origin-control-plane # FROM registry.fedoraproject.org/f29/origin-cli:latest ENV NAME=origin-control-plane \ VERSION=3.11 \ ARCH=x86_64 RUN INSTALL_PKGS="origin ceph-common" && \ dnf install -y ${INSTALL_PKGS} && \ rpm -V ${INSTALL_PKGS} && \ dnf clean all && \ setcap 'cap_net_bind_service=ep' /usr/bin/openshift LABEL io.k8s.display-name="OpenShift Origin Application Platform" \ io.k8s.description="OpenShift Origin is a platform for developing, building, and deploying containerized applications." \ summary="OpenShift Origin is a platform for developing, building, and deploying containerized applications." \ io.openshift.tags="openshift,core" \ maintainer="Jakub Cajka " \ License="GPLv2+" \ name="$FGC/$NAME" \ com.redhat.component="$NAME" \ version="$VERSION" \ architecture="$ARCH" \ usage="Image used for deployment of openshift origin" COPY README.md README.md ENV HOME=/root \ KUBECONFIG=/var/lib/origin/openshift.local.config/master/admin.kubeconfig WORKDIR /var/lib/origin EXPOSE 8443 53 ENTRYPOINT ["/usr/bin/openshift"]