From 5d6672a48831f7172ae72e1a4e6191345810a221 Mon Sep 17 00:00:00 2001 From: Martin Schurz Date: Wed, 25 Oct 2023 20:53:21 +0200 Subject: [PATCH] slim down Oracle image Signed-off-by: Martin Schurz --- oracle7-ansible-latest/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/oracle7-ansible-latest/Dockerfile b/oracle7-ansible-latest/Dockerfile index 868d49e..20c0743 100644 --- a/oracle7-ansible-latest/Dockerfile +++ b/oracle7-ansible-latest/Dockerfile @@ -12,9 +12,8 @@ RUN yum makecache fast \ which \ ansible \ systemd \ - && yum clean all - -RUN rm -rf /var/cache/yum; + && yum clean all --enablerepo=* \ + && rm -rf /var/cache/yum # Disable requiretty. RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers