##############################
# E2E-container test product #
#   Production environment   #
##############################
# 1047 incremented at 2020-02-24T15:52:54+00:00

# TODO: Latest base image released is a good candidate for the test product's parent
FROM ubi8:8.0

LABEL maintainer="Martin Malina <mmalina@redhat.com>"
LABEL io.k8s.display-name="E2E-Container"
LABEL description="E2E-container test product"

# Add a file from both dist-git repo and lookaside cache
ADD test_file_in_production /
ADD test_file_in_production_lookaside_cache /

# Install some stuff and exercise layer squashing
RUN yum -y install tree
RUN yum -y install release-e2e-test
RUN yum clean all

RUN release-e2e-test.py
RUN touch /hello_world

CMD release-e2e-test.py

# Required labels can not be missing
LABEL com.redhat.component="e2e-container-test-product-container"
LABEL name="e2e-container/e2e-container-test-product"
LABEL version="8.0"

LABEL summary="Testing payload for E2E-Container prod"

# This label below is for Metaxor-related testing
LABEL com.redhat.apb.spec="LS0tDQptZXRhZGF0YToNCiAgZGVwZW5kZW5jaWVzOg0KICAgIC0gJ3JlZ2lzdHJ5LmFjY2Vzcy5yZWRoYXQuY29tL3BhdGgvdG8vcmVwb3NpdG9yeScNCiAgICAtICdkb2NrZXI6Ly9yZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbTo4MC9wYXRoL3RvL3JlcG9zaXRvcnk6bGF0ZXN0Jw=="
