Unfortunately the AWS environment imposes several hard limits that are impossible to bypass:

  • The Docker container must fit within the current AWS Lambda limits:
    • Compressed + uncompressed Docker image under 512 MB (udocker needs to download the image before uncompressing it).
    • Maximum execution time of 900 seconds (15 minutes).
  • Installation of packages in the user-defined script (i.e. using yum, apt-get, etc.) is currently not possible.