diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6330c1f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,34 @@ +# +# This is the official OpenShift Origin pod infrastructure image. It will stay running +# until terminated by a signal and is the heart of each running pod. It holds on to +# the network and IPC namespaces as containers come and go during the lifetime of the +# pod. +# +# The standard name for this image is openshift/origin-pod +FROM registry.fedoraproject.org/f29/origin:latest + +ENV NAME=origin-pod \ + VERSION=3.11 \ + ARCH=x86_64 + +RUN INSTALL_PKGS="origin-pod" && \ + dnf install -y ${INSTALL_PKGS} && \ + rpm -V ${INSTALL_PKGS} && \ + dnf clean all + +LABEL io.k8s.display-name="OpenShift Origin Pod Infrastructure" \ + io.k8s.description="This is a component of OpenShift Origin and holds on to the shared Linux namespaces within a Pod." \ + io.openshift.tags="openshift,pod" \ + summary="This is a component of OpenShift Origin and holds on to the shared Linux namespaces within a Pod." \ + maintainer="Jakub Cajka " \ + License="GPLv2+" \ + name="$FGC/$NAME" \ + com.redhat.component="$NAME" \ + version="$VERSION" \ + architecture="$ARCH" \ + usage="This is a component of OpenShift Origin and holds on to the shared Linux namespaces within a Pod." + +COPY README.md README.md + +USER 1001 +ENTRYPOINT ["/usr/bin/pod"]