icaoberg/gifgen

Created Tue, 14 Jan 2020 08:00:00 +0000 Modified Fri, 21 Jul 2023 05:21:10 -0400
120 Words

Joaquin Sabina

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