File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 36
36
wget -qO- https://github.com/sylabs/singularity/releases/download/v${SINGULARITY_VERSION}/singularity-${SINGULARITY_VERSION}.tar.gz | \
37
37
tar xzv && \
38
38
cd singularity && \
39
- ./mconfig -p /usr/local/singularity && \
39
+ ./mconfig -p /usr/local && \
40
40
make -C builddir && \
41
41
sudo make -C builddir install
42
42
48
48
SINGULARITY_RECIPE : Singularity
49
49
OUTPUT_CONTAINER : container.sif
50
50
run : |
51
- export PATH=/usr/local/singularity/bin:$PATH
52
51
ls
53
52
if [ -f "${SINGULARITY_RECIPE}" ]; then
54
- sudo singularity build ${OUTPUT_CONTAINER} ${SINGULARITY_RECIPE}
53
+ sudo -E singularity build ${OUTPUT_CONTAINER} ${SINGULARITY_RECIPE}
55
54
else
56
55
echo "${SINGULARITY_RECIPE} is not found."
57
56
echo "Present working directory: $PWD"
You can’t perform that action at this time.
0 commit comments