docs: def entrypoint_script(*lines):
      'write lines to /entrypoint and hint it as default command'
      lines = list(lines)
      if lines and not lines[0].startswith('#!'):
          lines.insert(0, '#!/bin/sh')
      return eval([['entrypoint', '/entrypoint'],
                   ['write-script', '/entrypoint'] + lines])