Skip to content

Commit

Permalink
Clean up on ubunut
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 8, 2024
1 parent 909d521 commit 486be6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom/testing/ubuntu-20.04.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,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/ubuntu-22.04.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ RUN <<EOF
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/ubuntu-24.04.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ RUN <<EOF
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"]

0 comments on commit 486be6a

Please sign in to comment.