Issue with runner when overriding the entrypoint of an image
I'm trying to run a job in which I used opa image and I tried to override the entrypoint as following :
---
stages:
- verify
check:
stage: verify
image:
name: openpolicyagent/opa:0.16.2
entrypoint: [""]
script: /opa run --server
However I'm getting error from the runner every time, this is a link for the failed job https://gitlab.com/abir4/test-opa-ci-pipeline/-/jobs/436873021 This is the docker file of the used image https://github.com/open-policy-agent/opa/blob/master/Dockerfile I think the reason is that in the image there's no installed shell so the runner cannot attach himself to the container am I right ?
Edited by Abir Hamzi