I have a docker image that has an entry point configured below
ENTRYPOINT ["bash", "-c", "mvn clean verify -DHOSTNAME=${HOSTNAME} DPORT=${PORT} -DUSERNAME=${USERNAME} -DPASSWORD=${PASSWORD}"]
Now, when I’m using this image in my pipeline and setting the FF_KUBERNETES_HONOR_ENTRYPOINT in the pipeline is just hanging the pipeline. Not sure why this is happening. Any help around this would be great.
Pipeline:
stages:
- build
build_job:
stage: build
image:
name: myimage:latest
variables:
FF_KUBERNETES_HONOR_ENTRYPOINT: true
script:
- echo "Running the job, but letting ENTRYPOINT take precedence."
last lines of log showing the below line and is stuck for ever (until the project timeout is reached)
Executing "step_script" stage of the job script