From 3772e0299fc79ca47af3728d9d8afa3251a7dd93 Mon Sep 17 00:00:00 2001 From: Nathan Garside Date: Sat, 11 Nov 2023 19:08:33 +0000 Subject: [PATCH] Revert openSUSE distrobox changes (#5) --- distrobox/containerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distrobox/containerfile b/distrobox/containerfile index b0bf672..bb4729a 100644 --- a/distrobox/containerfile +++ b/distrobox/containerfile @@ -30,6 +30,10 @@ RUN zypper --non-interactive install --no-recommends \ terraform \ && zypper clean +# Revert configuration changes in base image +RUN sed -i 's/.*solver.onlyRequires.*/solver.onlyRequires = true/g' /etc/zypp/zypp.conf \ + && sed -i 's/.*rpm.install.excludedocs.*/rpm.install.excludedocs = yes/g' /etc/zypp/zypp.conf + # Install Azure Artifacts credential provider RUN mkdir /opt/nuget \ && wget -O- \