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