Install WP-Rocket regulary, do not activate.
via your pantheon Dashboard, go to the envrionment then Connection Info and copy the login command line to SFTP. Login to SFTP, then create these 2 folders under Uploads
cd /code/wp-content/uploads
mkdir cache
mkdir wp-rocket-config
Now, the challanging part I had, was to create symbolic links on windows, and add these links to git.
cd wp-content/
mkdir uploads\cache
mkdir uploads\wp-rocket-config
mklink /d .\cache .\uploads\cache
mklink /d .\wp-rocket-config .\uploads\wp-rocket-config
cd wp-content/
mkdir uploads/cache
mkdir uploads/wp-rocket-config
ln -s ./uploads/cache ./cache
ln -s ./uploads/wp-rocket-config ./wp-rocket-config
On wp-config.php
define( 'WP_CACHE', false );
On functions.php (or your plugin)
add_filter( 'do_rocket_generate_caching_files', '__return_false', PHP_INT_MAX );
add_filter( 'rocket_set_wp_cache_constant', '__return_false', PHP_INT_MAX );
add_filter( 'rocket_generate_advanced_cache_file', '__return_false', PHP_INT_MAX );