Minor: Release docker entrypoint
CMD entry-point in release Dockerfile tries to use (not exported) $MADYM_VERSION
.
Currently:
docker run -it [...] registry.gitlab.com/manchester_qbi/manchester_qbi_public/madym_cxx/madym_release:4.23.x
Crashes with error:
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/usr/madym-v$MADYM_VERSION/bin/madym_gui": stat /usr/madym-v$MADYM_VERSION/bin/madym_gui: no such file or directory: unknown.
ERRO[0000] error waiting for container: context canceled
$MADYM_ROOT
is alreay on path, so the default entrypoint could be just madym_gui
. This works:
docker run -it -u madymuser -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY \
registry.gitlab.com/manchester_qbi/manchester_qbi_public/madym_cxx/madym_release:4.23.3 madym_gui