diff --git a/.devcontainer/local-features/apptainer/install.sh b/.devcontainer/local-features/apptainer/install.sh index d4bf1c770..030d1c50b 100644 --- a/.devcontainer/local-features/apptainer/install.sh +++ b/.devcontainer/local-features/apptainer/install.sh @@ -1,9 +1,14 @@ #!/usr/bin/env bash # Install Apptainer (Singularity) -add-apt-repository -y ppa:apptainer/ppa + apt-get update --quiet +# installs add-apt-repository +apt install --reinstall -y software-properties-common + +add-apt-repository -y ppa:apptainer/ppa + apt install -y apptainer apt-get clean