message: as has landed we don't need versioncheck anymore
  the entrypoint-readiness would never be called if it does not exist.
  also making sure that we only check for the ready file if the entrypoint actually exists (prevents issues with modified images)
diff: #!/bin/sh
  -# simple readiness check to see if a late-running entrypoint has completed
  -
  -function version_check() {
  - test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1";
  -}
  +set -eo pipefail
  -function file_check() {
  +# simple readiness check to see if a late-running entrypoint has completed
  +# but only if the entrypoint actually exists
  +if [ -f /lagoon/entrypoints/999-readiness.sh ]; then
  test -f /tmp/ready
  -}
  -
  -VERSION="${LAGOON_VERSION}:1"
  -if version_check $VERSION 1.8.2 || [ "${LAGOON_VERSION}" = "development" ]; then
  - file_check
  -else
  - # older version, just exit
  - exit 0
  fi
  