Skip to content

Commit

Permalink
Singularity: remove temporary files after the build is finished
Browse files Browse the repository at this point in the history
This helps to reduce the image size from 404M to 371M
  • Loading branch information
Donaim committed Mar 7, 2024
1 parent 501ab89 commit caa4d55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ From: ubuntu:22.04

# Clean up
apt-get remove -y wget git build-essential
apt-get clean
rm -rf /var/lib/apt/lists/*

%environment
export LANG=en_US.UTF-8
Expand Down

0 comments on commit caa4d55

Please sign in to comment.