To use a read-only cache

  1. Run the application on a test/development system that has a file system with write access.
  2. Copy the cache directory to the desired location in the target image.
  3. Set the environment variables described above to enable the cache and indicate its location.