File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
tests/slim_onbuild_composer Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,5 @@ FROM thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT}
77
88COPY composer.json composer.json
99
10- RUN php -m
11-
12- RUN which php
13-
14- RUN sudo tee "/etc/php/${PHP_VERSION}/mods-available/generated_conf.ini"
15-
1610# Let's check that GD is available.
1711RUN composer install
Original file line number Diff line number Diff line change 22
33$ phpEnvVarCache = include '/opt/php_env_var_cache.php ' ;
44
5+ error_log (var_export ($ phpEnvVarCache , true ));
6+
57$ envVars = getenv ();
8+
9+ error_log (var_export ($ envVars , true ));
10+
611$ shouldGenerateConfig = false ;
712$ phpEnvVar = [];
813
2025 }
2126}
2227
28+ error_log (var_export ($ phpEnvVar , true ));
29+
2330if ($ shouldGenerateConfig === false ) {
2431 echo "0 " ;
2532 exit (0 );
Original file line number Diff line number Diff line change 22
33sudo chown docker:docker /opt/php_env_var_cache.php
44
5- echo " IN PROXY"
6-
75REGENERATE=$( /usr/bin/real_php /usr/local/bin/check_php_env_var_changes.php)
86
9- echo " REGENERATE=$REGENERATE "
10-
117if [[ " $REGENERATE " != " 0" ]] && [[ " $REGENERATE " != " 1" ]]; then
128 exit 1
139fi
You can’t perform that action at this time.
0 commit comments