Skip to content

Commit f48abd3

Browse files
committed
BZ-2049375:Adds command to Entitlement Build
1 parent 301d2aa commit f48abd3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/builds-source-secrets-entitlements.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ Builds that use Red Hat subscriptions to install content must include the entitl
1212

1313
You must have access to Red Hat entitlements through your subscription, and the entitlements must have separate public and private key files.
1414

15+
16+
[TIP]
17+
====
18+
When you perform an Entitlement Build using {op-system-base-full} 7, you must have the following instructions in your Dockerfile before you run any `yum` commands:
19+
20+
[source,terminal]
21+
----
22+
RUN rm /etc/rhsm-host
23+
----
24+
====
25+
1526
.Procedure
1627

1728
. Create a secret containing your entitlements, ensuring that there are separate files containing the public and private keys:

0 commit comments

Comments
 (0)