diff --git a/28/Dockerfile b/28/Dockerfile
index d01a3bb325d3e27af3c909ab037388df89bd9236..6e0c1ce3f291d4764ed7ba701fce53aacaf4f500 100644
--- a/28/Dockerfile
+++ b/28/Dockerfile
@@ -1,6 +1,6 @@
 FROM fedora:28
 
-RUN dnf update -y
+RUN dnf update -y --setopt=install_weak_deps=False
 
 # TODO: Remove this once the build deps for boost have been cleaned up...
 RUN echo '%build_icinga_org 1' >/etc/rpm/macros.icinga_build
diff --git a/29/Dockerfile b/29/Dockerfile
index 652a3724ce2e300ec2e5b2cad71be3d8caa98117..9220db14c20ac88e6ecccbc00eb58d0bff6bd9db 100644
--- a/29/Dockerfile
+++ b/29/Dockerfile
@@ -1,6 +1,6 @@
 FROM fedora:29
 
-RUN dnf update -y
+RUN dnf update -y --setopt=install_weak_deps=False
 
 # TODO: Remove this once the build deps for boost have been cleaned up...
 RUN echo '%build_icinga_org 1' >/etc/rpm/macros.icinga_build