mirror of
https://github.com/MillironX/singularity-builds.git
synced 2024-11-23 18:09:55 +00:00
Add pigz image
This commit is contained in:
parent
2aa4c8e88e
commit
0c3b4ccb06
1 changed files with 32 additions and 0 deletions
32
pigz/pigz.def
Normal file
32
pigz/pigz.def
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
Bootstrap: library
|
||||||
|
From: default/centos:latest
|
||||||
|
|
||||||
|
%post
|
||||||
|
dnf install pigz procps-ng -y
|
||||||
|
|
||||||
|
%test
|
||||||
|
if [ ! "$(command -v pigz)" ]; then
|
||||||
|
echo "command julia not found!"
|
||||||
|
FAILED_TESTS="TRUE"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! "$(command -v bash)" ]; then
|
||||||
|
echo "command bash not found!"
|
||||||
|
FAILED_TESTS="TRUE"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! "$(command -v ps)" ]; then
|
||||||
|
echo "command ps not found!"
|
||||||
|
FAILED_TESTS="TRUE"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "$FAILED_TESTS" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
%runscript
|
||||||
|
pigz "$@"
|
||||||
|
|
||||||
|
%labels
|
||||||
|
Author 25492070+MillironX@users.noreply.github.com
|
||||||
|
Version v2.3.1
|
Loading…
Reference in a new issue