singularity-builds/pigz/pigz.def

33 lines
604 B
Modula-2
Raw Normal View History

2021-06-29 13:29:35 +00:00
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