Skip to content

Commit

Permalink
slim down Oracle image
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schurz <[email protected]>
  • Loading branch information
schurzi committed Oct 25, 2023
1 parent e572747 commit 5d6672a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions oracle7-ansible-latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d6672a

Please sign in to comment.