diff --git a/scripts/docker-install-phase4.bash b/scripts/docker-install-phase4.bash index 70ba663..69fe156 100755 --- a/scripts/docker-install-phase4.bash +++ b/scripts/docker-install-phase4.bash @@ -5,6 +5,7 @@ set -o pipefail npm config set unsafe-perm true PERL_MM_USE_DEFAULT=1 cpan App::cpanminus +rm -rf /tmp/cpan_install_*.txt # Befunge npm install -g befunge93 prompt-sync @@ -36,4 +37,6 @@ pip3 install whitespace # Wolfram Language python3.7 -m pip install mathics +rm -f /tmp/core-js-banners + rm "$0" diff --git a/scripts/docker-install-phase5.bash b/scripts/docker-install-phase5.bash index 5bce5c1..4ccbe29 100755 --- a/scripts/docker-install-phase5.bash +++ b/scripts/docker-install-phase5.bash @@ -12,6 +12,7 @@ rm watchexec-*.deb cd /tmp git clone https://github.com/circulosmeos/gdown.pl.git mv gdown.pl/gdown.pl /usr/bin/gdown +rm -rf gdown.pl cd /tmp wget https://get.haskellstack.org/stable/linux-x86_64-static.tar.gz diff --git a/scripts/docker-install-phase6.bash b/scripts/docker-install-phase6.bash index 83c3efb..cc0efa2 100755 --- a/scripts/docker-install-phase6.bash +++ b/scripts/docker-install-phase6.bash @@ -5,6 +5,8 @@ set -o pipefail uid="$1" +rm -rf /tmp/hsperfdata_root + if [[ -n "$uid" ]] && (( "$uid" != 0 )); then useradd --uid="$uid" --create-home --groups sudo docker passwd -d docker