Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up after package manager #96

Merged
merged 1 commit into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions custom/testing/amazonlinux-2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ RUN <<EOF
rm -rf /var/cache/salt
rm -rf /etc/salt
rm -rf /tmp/*
yum clean all
rm -rf /var/cache/yum
EOF

CMD ["/bin/bash"]
2 changes: 2 additions & 0 deletions custom/testing/amazonlinux-2023.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ RUN <<EOF
rm -rf /var/cache/salt
rm -rf /etc/salt
rm -rf /tmp/*
yum clean all
rm -rf /var/cache/yum
EOF

CMD ["/bin/bash"]
3 changes: 3 additions & 0 deletions custom/testing/debian-11.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ RUN <<EOF
rm -rf /var/cache/salt
rm -rf /etc/salt
rm -rf /tmp/*
ln -s /bin/systemd /usr/lib/systemd/systemd
apt-get clean
rm -rf /var/cache/apt/archives/*
EOF

CMD ["/bin/bash"]
2 changes: 2 additions & 0 deletions custom/testing/debian-12.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ tar xf salt-3007.1-onedir-linux-$ARCH.tar.xz
rm -rf /var/cache/salt
rm -rf /etc/salt
rm -rf /tmp/*
apt-get clean
rm -rf /var/cache/apt/archives/*
EOF

CMD ["/bin/bash"]
2 changes: 2 additions & 0 deletions custom/testing/fedora-40.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN <<EOF
rm -rf /var/cache/salt
rm -rf /etc/salt
rm -rf /tmp/*
yum clean all
rm -rf /var/cache/yum
EOF

CMD ["/bin/bash"]
2 changes: 2 additions & 0 deletions custom/testing/photon-4.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ RUN <<EOF
rm -rf /var/cache/salt
rm -rf /etc/salt
rm -rf /tmp/*
yum clean all
rm -rf /var/cache/yum
EOF

CMD ["/bin/bash"]
2 changes: 2 additions & 0 deletions custom/testing/photon-5.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ RUN <<EOF
rm -rf /var/cache/salt
rm -rf /etc/salt
rm -rf /tmp/*
yum clean all
rm -rf /var/cache/yum
EOF

CMD ["/bin/bash"]
Loading