Technical Prerequisites

Getting Software

Certification requires that you verify the functionality of your product on the target Red Hat platform. Through the partner program, Red Hat offers free (also know as Not-for-resale or NFR) subscriptions for products such as Red Hat OpenShift Container Platform. To request software access as a partner, follow these instructions. Once your access has been approved, you may download software from the Customer Portal.
The following are requirements for building container images such that they meet the certification criteria. This section applies to both container application and Operator images. Although labels and licenses are not required to successfully build a container, they are required for Red Hat Certification.

Dockerfile Requirements

See our Certification Policy Guide for full image requirements for certification.

Example Dockerfile for Container Application:

1
FROM registry.redhat.io/rhel8
2
MAINTAINER NAME <[email protected]>
3
4
### Required OpenShift Labels
5
LABEL name="APPLICATION NAME" \
6
maintainer="[email protected]" \
7
vendor="COMPANY NAME" \
8
version="VERSION NUMBER" \
9
release="RELEASE NUMBER" \
10
summary="APPLICATION SUMMARY" \
11
description="APPLICATION DESCRIPTION" \
12
13
### add licenses to this directory
14
COPY licenses /licenses
15
16
### Add necessary Red Hat repos here
17
RUN REPOLIST=rhel-7-server-rpms,rhel-7-server-optional-rpms \
18
19
### Add your package needs here
20
INSTALL_PKGS="PACKAGES HERE" && \
21
yum -y update-minimal --disablerepo "*" --enablerepo rhel-7-server-rpms --setopt=tsflags=nodocs \
22
--security --sec-severity=Important --sec-severity=Critical && \
23
yum -y install --disablerepo "*" --enablerepo ${REPOLIST} --setopt=tsflags=nodocs ${INSTALL_PKGS} && \
24
25
### Install your application here -- add all other necessary items to build your image
26
RUN "ANY OTHER INSTRUCTIONS HERE"
Copied!

Operator Requirements

Note: We suggest using the Operator SDK to build your Kubernetes Operator for certification.