File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,8 @@ ARG NVMEOF_PACKAGES="\
112112 nvme-cli \
113113 "
114114
115+ ARG USER_PACKAGES=""
116+
115117ARG RHSM_SCRIPT=empty.sh
116118COPY $RHSM_SCRIPT /var/tmp/rhsm-script.sh
117119RUN /var/tmp/rhsm-script.sh && \
@@ -131,7 +133,9 @@ RUN /var/tmp/rhsm-script.sh && \
131133 $REBOOT_PACKAGES \
132134 $SSHD_PACKAGES \
133135 $TUNED_PACKAGES \
134- $TELEMETRY_LOGGING_PACKAGES && \
136+ $TELEMETRY_LOGGING_PACKAGES \
137+ $USER_PACKAGES \
138+ && \
135139 # edpm_bootstrap
136140 source /etc/os-release && if [ "${ID}" = "rhel" ]; then dnf -y install rhoso-release; fi && \
137141 # edpm_kernel
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ EDPM_BOOTC_IMAGE ?= ${EDPM_BOOTC_REPO}:${EDPM_BOOTC_TAG}
77EDPM_QCOW2_IMAGE ?= ${EDPM_BOOTC_REPO}:${EDPM_BOOTC_TAG}-qcow2
88BUILDER_IMAGE ?= quay.io/centos-bootc/bootc-image-builder:latest
99HOST_PACKAGES ?= podman osbuild-selinux https://download.devel.redhat.com/rcm-guest/puddles/OpenStack/rhos-release/rhos-release-latest.noarch.rpm
10+ USER_PACKAGES ?=
1011RHSM_SCRIPT ?= empty.sh
1112FIPS ?= 1
1213
@@ -35,6 +36,7 @@ build: output/yum.repos.d
3536 --build-arg EDPM_BASE_IMAGE=${EDPM_BASE_IMAGE} \
3637 --build-arg RHSM_SCRIPT=${RHSM_SCRIPT} \
3738 --build-arg FIPS=${FIPS} \
39+ --build-arg USER_PACKAGES=${USER_PACKAGES} \
3840 --volume /etc/pki/ca-trust:/etc/pki/ca-trust:ro,Z \
3941 --volume $(shell pwd) /output/yum.repos.d:/etc/yum.repos.d:rw,Z \
4042 -f ${EDPM_CONTAINERFILE} \
You can’t perform that action at this time.
0 commit comments