From 2f139cdd762dc6d8aa647f2e071f58608ae5a1a0 Mon Sep 17 00:00:00 2001 From: Timo Reichl Date: Sat, 18 Jun 2022 14:47:23 +0200 Subject: [PATCH] base: Make microdnf ignore weak deps Signed-off-by: Timo Reichl --- image/base/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/image/base/Dockerfile b/image/base/Dockerfile index d319fb9..ed370d3 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -61,7 +61,8 @@ COPY . / COPY --from=gosu-builder /go/bin/gosu-amd64 /usr/local/bin/gosu # Configure system -RUN yum-docker quick-install \ +RUN echo "install_weak_deps=False" >> /etc/dnf/dnf.conf && \ + yum-docker quick-install \ # basic system packages glibc-langpack-en \ util-linux-user \