#
# This is the official OpenShift test image. It can be used to verify
# an installation of OpenShift completed successfully.
#
# The standard name for this image is openshift/origin-tests
#
FROM registry.fedoraproject.org/f29/origin-cli:latest

ENV NAME=origin-tests \
    VERSION=3.11 \
    ARCH=x86_64

RUN INSTALL_PKGS=" \
      origin-tests \
      git \
      " && \
    dnf install -y ${INSTALL_PKGS} && \
    rpm -V ${INSTALL_PKGS} && \
    dnf clean all && \
    git config --system user.name test && \
    git config --system user.email test@test.com

LABEL io.k8s.display-name="OpenShift End-to-End Tests" \
      io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \
      io.openshift.tags="openshift,tests,e2e" \
      summary="OpenShift is a platform for developing, building, and deploying containerized applications." \
      maintainer="Jakub Cajka <jcajka@fedoraproject.org>" \
      License="GPLv2+" \
      name="$FGC/$NAME" \
      com.redhat.component="$NAME" \
      version="$VERSION" \
      architecture="$ARCH" \
      usage="OpenShift is a platform for developing, building, and deploying containerized applications."
