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}
7
7
8
8
COPY composer.json composer.json
9
9
10
- RUN php -m
11
-
12
- RUN which php
13
-
14
- RUN sudo tee "/etc/php/${PHP_VERSION}/mods-available/generated_conf.ini"
15
-
16
10
# Let's check that GD is available.
17
11
RUN composer install
Original file line number Diff line number Diff line change 2
2
3
3
$ phpEnvVarCache = include '/opt/php_env_var_cache.php ' ;
4
4
5
+ error_log (var_export ($ phpEnvVarCache , true ));
6
+
5
7
$ envVars = getenv ();
8
+
9
+ error_log (var_export ($ envVars , true ));
10
+
6
11
$ shouldGenerateConfig = false ;
7
12
$ phpEnvVar = [];
8
13
20
25
}
21
26
}
22
27
28
+ error_log (var_export ($ phpEnvVar , true ));
29
+
23
30
if ($ shouldGenerateConfig === false ) {
24
31
echo "0 " ;
25
32
exit (0 );
Original file line number Diff line number Diff line change 2
2
3
3
sudo chown docker:docker /opt/php_env_var_cache.php
4
4
5
- echo " IN PROXY"
6
-
7
5
REGENERATE=$( /usr/bin/real_php /usr/local/bin/check_php_env_var_changes.php)
8
6
9
- echo " REGENERATE=$REGENERATE "
10
-
11
7
if [[ " $REGENERATE " != " 0" ]] && [[ " $REGENERATE " != " 1" ]]; then
12
8
exit 1
13
9
fi
You can’t perform that action at this time.
0 commit comments