Skip to content

Commit fb91927

Browse files
committed
added bind point for arizona
1 parent 0b70860 commit fb91927

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker2singularity.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ rm -rf $TMPDIR
141141
### Permissions ################################################################
142142
################################################################################
143143
echo "(6/9) Adding mount points..."
144-
singularity exec --writable --contain $new_container_name /bin/sh -c "mkdir -p mkdir /oasis /projects /scratch /local-scratch /work /home1 /corral-repl /beegfs /share/PI"
144+
singularity exec --writable --contain $new_container_name /bin/sh -c "mkdir -p mkdir /oasis /projects /scratch /local-scratch /work /home1 /corral-repl /beegfs /share/PI /extra"
145145

146146
# making sure that any user can read and execute everything in the container
147147
echo "(7/9) Fixing permissions..."
@@ -150,10 +150,10 @@ if grep -q Buildroot /etc/issue ; then
150150
# we're running on a Builroot container and need to use Busybox's find
151151
echo "We're running on BusyBox/Buildroot"
152152
singularity exec --writable --contain $new_container_name /bin/sh -c "find / -type f -or -type d -perm -u+x,o-x -not -path '/dev*' -not -path '/proc*' -not -path '/sys*' -exec chmod a+x '{}' \;"
153-
else
153+
else
154154
echo "We're not running on BusyBox/Buildroot"
155155
singularity exec --writable --contain $new_container_name /bin/sh -c "find / -executable -perm -u+x,o-x -not -path '/dev*' -not -path '/proc*' -not -path '/sys*' -exec chmod a+x '{}' \;"
156-
fi
156+
fi
157157

158158
echo "(8/9) Stopping and removing the container..."
159159
docker stop $container_id

0 commit comments

Comments
 (0)