update fedora singularity image to Fedora 35

This commit is contained in:
Axel Kohlmeyer
2022-01-12 08:17:54 -05:00
parent 240db21054
commit 698256f4fe

View File

@ -1,5 +1,5 @@
BootStrap: docker BootStrap: docker
From: fedora:34 From: fedora:35
%post %post
dnf -y update dnf -y update
@ -94,7 +94,7 @@ EOF
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
cat >$CUSTOM_PROMPT_ENV <<EOF cat >$CUSTOM_PROMPT_ENV <<EOF
#!/bin/bash #!/bin/bash
PS1="[fedora34:\u@\h] \W> " PS1="[fedora35:\u@\h] \W> "
EOF EOF
chmod 755 $CUSTOM_PROMPT_ENV chmod 755 $CUSTOM_PROMPT_ENV