Skip to content

Commit

Permalink
Merge pull request #43 from dev-sec/slim_oracle
Browse files Browse the repository at this point in the history
slim Oracle image by deleting all yum caches
  • Loading branch information
schurzi authored Oct 25, 2023
2 parents e572747 + 5d6672a commit fe635d5
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 fe635d5

Please sign in to comment.