2.2. Building customized images from a base image
You can use Podman to build and test your container image. A general Containerfile has the following structure:
FROM registry.redhat.io/rhel10/rhel-bootc:latest
RUN dnf -y install [software] [dependencies] && dnf clean all
ADD [application]
ADD [configuration files]
RUN [config scripts]
For more examples of configuring RHEL systems by using containers, see the rhel-bootc-examples repository.