Question
· Oct 8

Docker build with merge results in error

Hello,

I'm trying to create a custom IRIS4Health docker container utilizing CPF Merge but getting an error below. The merge file has been copied to the container within the docker file. Anybody know what would cause this error?

ERROR: failed to solve: process "/bin/sh -c iris start IRIS && iris merge IRIS mergefile.cpf" did not complete successfully: exit code: 133

Product version: IRIS 2024.1
Discussion (1)2
Log in or sign up to continue

I'm not sure about this particular error, but some tips for using CPF merge that might apply:

1) "iris start" returns before IRIS is fully up (run "iris list" fast enough and you may see that the status hasn't yet reached "running").  To mitigate this you can block on the IRIS readiness script, something like:

iris start IRIS && /usr/irissys/dev/Cloud/ICM/waitReady.sh && iris merge IRIS mergefile.cpf

2) You can avoid the timing issues above by having the merge carried out as part of "iris start" using environment variable ISC_CPF_MERGE_FILE, something like:

ISC_CPF_MERGE_FILE=mergefile.cpf iris start IRIS

Note in all of the above examples, best practice is to provide the full path to the merge file.