mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 16:06:47 +00:00
Don't install weak dependencies on RHEL-based systems
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
This commit is contained in:
parent
e98c949019
commit
f409e01aa6
@ -38,7 +38,10 @@ install_required_packages() {
|
||||
apt-get update -yq
|
||||
apt-get install -yq curl runc bridge-utils iptables iptables-persistent
|
||||
elif $(has_dnf); then
|
||||
dnf install -y --allowerasing curl runc iptables-services bridge-utils which
|
||||
dnf install -y \
|
||||
--allowerasing \
|
||||
--setopt=install_weak_deps=False \
|
||||
curl runc iptables-services bridge-utils which
|
||||
elif $(has_pacman); then
|
||||
pacman -Syy
|
||||
pacman -Sy curl runc bridge-utils
|
||||
|
Loading…
x
Reference in New Issue
Block a user