title: Docker - How to disable PHP ext / modules
body: <p>I am working on a PHP API and I would like to <strong>disable unused php Modules</strong> inside my <strong>PHP-FPM</strong> image, such as "sqlite3, pdo ..".</p>
  
  <p>I am a docker beginner and I would like to know if is there anything similar to <code>docker-php-ext-enable</code> if not what is the best practice for disabling unused php modules.</p>