Skip to content

OSDOCS-15233:RFE-bootc image mode for RHEL #96428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: enterprise-4.19
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ toc::[]
You can embed {microshift-short} into an operating system image using image mode for {op-system-base-full}.

include::modules/microshift-install-bootc-conc.adoc[leveloffset=+1]
include::modules/microshift-preparing-for-image-building-bootc.adoc[leveloffset=+1]


[id="_additional-resources_microshift-install-rhel-image-mode_{context}"]
== Additional resources
Expand Down
12 changes: 12 additions & 0 deletions modules/microshift-install-bootc-build-image.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ RUN systemctl enable microshift-make-rshared.service
Podman uses the host subscription information and repositories inside the container when building the container image. If the `rhocp` and `fast-datapath` repositories are not available on the host, the build fails.
====

. Install the `container-tools` package:
+
[source,terminal]
----
$ dnf install -y firewalld microshift container-tools
----
+
[NOTE]
====
The `container-tools` package provides tools for additional support and troubleshooting. These tools are required for obtaining assistance from Red{nbsp}Hat Support when you are installing the image.
====

. Set the `PULL_SECRET` environment variable:
+
[source,terminal]
Expand Down
15 changes: 15 additions & 0 deletions modules/microshift-preparing-for-image-building-bootc.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Module included in the following assemblies:
//
// microshift_install_bootc/microshift-about-rhel-image-mode

:_mod-docs-content-type: CONCEPT
[id="preparing-for-image-building_{context}"]
= Preparing for image building

Use the image builder tool to compose customized {microshift-short} bootc images optimized for edge deployments. You can run a {microshift-short} cluster with your applications on a {op-system-image} virtual machine for development and testing first, then use your whole solution in edge production environments.

Use the following {op-system-base} documentation to understand the full details of using {op-system-image}:

* To build an {op-system-base} {op-system-version} image for a given CPU architecture, you need a {op-system-base} {op-system-version} build host of the same CPU architecture that meets the link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/composing_installing_and_managing_rhel_for_edge_images/setting-up-image-builder_composing-installing-managing-rhel-for-edge-images#edge-image-builder-system-requirements_setting-up-image-builder[Image builder system requirements].

* Follow the instructions in link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/composing_installing_and_managing_rhel_for_edge_images/setting-up-image-builder_composing-installing-managing-rhel-for-edge-images#edge-installing-image-builder_setting-up-image-builder[Installing image builder] to install image builder and the `composer-cli` tool.