1. 0
  1.  

  2. 1
    sudo rm -rf *.tar.gz
    

    Huh.

    1. 1

      Not quite sure what you’re “huh.” Is about, but there’s a fair amount of rm'ing that happens in Dockerfiles (it’s running in an isolated filesystem, so if it goes wrong, easy enough to fix and try again), though I personally would be doing more of the work in a single layer and not spread across so many RUN commands.