Issue with docker image in gitlab CI

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.

A possible solution would be to specify an entrypoint in the gitlab cicd config, but I don't know what would be the correct shell path with this particular image. I can't figure it out by running the image locally due to another issue: I don't have a license file. How do I obtain this when I have a Stardog Cloud Essentials subscription? The docs only provide a link to the pricing page.

I don't think I need the Stardog CLI after all, I'll just use the Graph Store HTTP Protocol instead.