image: stardog/stardog
I've attempted to use the stardog docker image in a gitlab cicd-pipeline in order to use the Stardog CLI. Before my script is able to run, the job fails with the following message:
Invalid or missing options:
Found unexpected parameters: [sh, -c, if [ -x /usr/local/bin/bash ]; then
exec /usr/local/bin/bash
elif [ -x /usr/bin/bash ]; then
exec /usr/bin/bash
elif [ -x /bin/bash ]; then
exec /bin/bash
elif [ -x /usr/local/bin/sh ]; then
exec /usr/local/bin/sh
elif [ -x /usr/bin/sh ]; then
exec /usr/bin/sh
elif [ -x /bin/sh ]; then
exec /bin/sh
elif [ -x /busybox/sh ]; then
exec /busybox/sh
else
echo shell not found
exit 1
fi
]
Type 'help server start' for usage information
I can get it to work by using the default image and installing the stardog CLI:
- curl http://packages.stardog.com/rpms/stardog.repo > /etc/yum.repos.d/stardog.repo
- yum install -y stardog
I would however prefer to use a docker image.