-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
centos/ubi: disable weak dependencies
The weak dependencies were already disable for ubi8 so we can do this for CentOS too (even if we don't have the same weak deps during the ceph packages between upstream and downstream ceph install). This also disables the weak deps during the container image update and daemon package install step. On the daemon-base image this reduces the container image size by 30MB uncompressed. Closes: #1874 Signed-off-by: Dimitri Savineau <[email protected]> (cherry picked from commit 6c8af81)
- Loading branch information
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
echo 'Install packages' && \ | ||
yum install -y wget unzip util-linux python-setuptools udev device-mapper && \ | ||
yum install -y __DAEMON_PACKAGES__ && \ | ||
yum install -y --setopt=install_weak_deps=False wget unzip util-linux python-setuptools udev device-mapper && \ | ||
yum install -y --setopt=install_weak_deps=False __DAEMON_PACKAGES__ && \ | ||
# Centos 7 doesn't have confd/forego packages, so install them from web | ||
__WEB_INSTALL_CONFD__ && \ | ||
__WEB_INSTALL_FOREGO__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
yum update -y && \ | ||
yum install -y wget unzip util-linux python3-saml python3-setuptools udev device-mapper && \ | ||
yum install -y __CEPH_BASE_PACKAGES__ | ||
yum update -y --setopt=install_weak_deps=False && \ | ||
yum install -y --setopt=install_weak_deps=False wget unzip util-linux python3-saml python3-setuptools udev device-mapper && \ | ||
yum install -y --setopt=install_weak_deps=False __CEPH_BASE_PACKAGES__ |