Skip to content

Commit 39c6596

Browse files
authored
Second attempt at not installing weak dependencies (#361)
1 parent d200484 commit 39c6596

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

template/docker/Dockerfile.j2

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ LABEL name="Stackable Operator for {[ operator.pretty_string }]" \
1818
description="Deploy and manage {[ operator.pretty_string }] clusters."
1919

2020
# Update image and install kerberos client libraries
21-
RUN microdnf update -y --setopt=install_weak_deps=False \
22-
&& microdnf install -y --setopt=install_weak_deps=False \
21+
# install_weak_deps in microdnf does not support the literal "False" as dnf does
22+
# https://github.com/rpm-software-management/microdnf/blob/a600c62f29262d71a6259b70dc220df65a2ab9b5/dnf/dnf-main.c#L176-L189
23+
RUN microdnf update -y --setopt=install_weak_deps=0 \
24+
&& microdnf install -y --setopt=install_weak_deps=0 \
2325
krb5-libs \
2426
libkadm5 \
2527
&& microdnf clean all \

0 commit comments

Comments
 (0)