origin-pod/Dockerfile
2019-01-21 13:44:24 +01:00

34 lines
1.3 KiB
Docker

#
# 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/fedora:29
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 <jcajka@fedoraproject.org>" \
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"]