1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
!/bin/bash -x # optimize performance or development if test ["$1" == "PRODUCTION"] ; then docker-php-ext-install opcache # copy OPcache parametres # etc... # install and enable JIT # else # maybe install some development tools # like XDebug fi