Skip to content

Commit

Permalink
Merge pull request #68 from JulianHn/yum-clean
Browse files Browse the repository at this point in the history
Clean up yum caches
  • Loading branch information
joshmoore authored Jun 22, 2022
2 parents 4774d8f + c62ea66 commit 1271c72
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ ADD playbook.yml requirements.yml /opt/setup/

RUN yum -y install epel-release \
&& yum -y install ansible sudo \
&& ansible-galaxy install -p /opt/setup/roles -r requirements.yml
&& ansible-galaxy install -p /opt/setup/roles -r requirements.yml \
&& yum -y clean all \
&& rm -fr /var/cache

RUN ansible-playbook playbook.yml
RUN ansible-playbook playbook.yml \
&& yum -y clean all \
&& rm -fr /var/cache

RUN curl -L -o /usr/local/bin/dumb-init \
https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 && \
Expand Down

0 comments on commit 1271c72

Please sign in to comment.