FROM registry.redhat.io/rhel8
### Required OpenShift Labels
LABEL name="APPLICATION NAME" \
version="VERSION NUMBER" \
release="RELEASE NUMBER" \
summary="APPLICATION SUMMARY" \
description="APPLICATION DESCRIPTION" \
### add licenses to this directory
### Add necessary Red Hat repos here
RUN REPOLIST=rhel-7-server-rpms,rhel-7-server-optional-rpms \
### Add your package needs here
INSTALL_PKGS="PACKAGES HERE" && \
yum -y update-minimal --disablerepo "*" --enablerepo rhel-7-server-rpms --setopt=tsflags=nodocs \
--security --sec-severity=Important --sec-severity=Critical && \
yum -y install --disablerepo "*" --enablerepo ${REPOLIST} --setopt=tsflags=nodocs ${INSTALL_PKGS} && \
### Install your application here -- add all other necessary items to build your image
RUN "ANY OTHER INSTRUCTIONS HERE"