mirror of
https://github.com/MillironX/singularity-builds.git
synced 2024-11-21 17:36:04 +00:00
Fix library exclusion bug in Sniffle image
This commit is contained in:
parent
847bc7d604
commit
89404a5fd8
1 changed files with 9 additions and 9 deletions
|
@ -14,6 +14,7 @@ From: default/alpine:3.14.0
|
||||||
apk add --no-cache bash
|
apk add --no-cache bash
|
||||||
|
|
||||||
# Get Sniffles
|
# Get Sniffles
|
||||||
|
cd /opt || exit 1
|
||||||
git clone https://github.com/fritzsedlazeck/Sniffles.git
|
git clone https://github.com/fritzsedlazeck/Sniffles.git
|
||||||
cd Sniffles || exit 1
|
cd Sniffles || exit 1
|
||||||
git checkout $SNIFFLES_TAG
|
git checkout $SNIFFLES_TAG
|
||||||
|
@ -23,18 +24,17 @@ From: default/alpine:3.14.0
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
|
||||||
make
|
make
|
||||||
|
|
||||||
# Install Sniffles
|
# Add Sniffles to PATH
|
||||||
cd ../bin/sniffles-core-$SNIFFLES_VERSION || exit 1
|
export PATH=/opt/Sniffles/bin/sniffles-core-$SNIFFLES_VERSION:$PATH
|
||||||
install -D -m 0755 sniffles -t /usr/local/bin
|
|
||||||
install -D -m 0755 sniffles-debug -t /usr/local/bin
|
|
||||||
|
|
||||||
# Cleanup repo
|
|
||||||
cd ../.. || exit 1
|
|
||||||
rm -rf Sniffles
|
|
||||||
|
|
||||||
# Cleanup packages
|
# Cleanup packages
|
||||||
apk del --no-cache .build-deps
|
apk del --no-cache .build-deps
|
||||||
|
|
||||||
|
%environment
|
||||||
|
export SNIFFLES_VERSION='1.0.12'
|
||||||
|
export SNIFFLES_TAG="v${SNIFFLES_VERSION}b"
|
||||||
|
export PATH=/opt/Sniffles/bin/sniffles-core-$SNIFFLES_VERSION:$PATH
|
||||||
|
|
||||||
%test
|
%test
|
||||||
command -v bash
|
command -v bash
|
||||||
command -v ps
|
command -v ps
|
||||||
|
@ -47,7 +47,7 @@ From: default/alpine:3.14.0
|
||||||
%labels
|
%labels
|
||||||
Author 25492070+MillironX@users.noreply.github.com
|
Author 25492070+MillironX@users.noreply.github.com
|
||||||
SoftwareVersion v1.0.12b
|
SoftwareVersion v1.0.12b
|
||||||
SingularityDefinitionVersion 1
|
SingularityDefinitionVersion 2
|
||||||
|
|
||||||
%help
|
%help
|
||||||
Sniffles
|
Sniffles
|
||||||
|
|
Loading…
Reference in a new issue