gifgen
Singularity recipe and image
gifgen provides simple high quality GIF encoding.
Source code
You can find the recipe to build the container here.
Building the image locally
The script build.sh
looks like
#!/bin/bash
IMAGE=singularity-gifgen.simg
DEFINITION=Singularity
if [ -f $IMAGE ]; then
rm -fv $IMAGE
fi
sudo singularity build $IMAGE $DEFINITION
To build the image locally simply run
bash ./build.sh
Building the image remotely
The script rbuild.sh
looks like
#!/bin/bash
IMAGE=singularity-gifgen.simg
DEFINITION=Singularity
if [ -f $IMAGE ]; then
rm -fv $IMAGE
fi
singularity build --remote $IMAGE $DEFINITION
If you notice, there isn’t much difference between this script and the previous script.
To build the image remotely simply run
bash ./rbuild.sh
Running gifgen
To run the app in the container, simply run
singularity exec singularity-gifgen.simg gifgen