We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2dfb4a0 + b46074c commit 1ba67b1Copy full SHA for 1ba67b1
entrypoint.sh
@@ -125,7 +125,7 @@ if [[ "${COMMAND}" == "" ]];then
125
fi
126
127
EXTENSIONS=$(echo "${JOB}" | jq -r ".extensions | map(\"php${PHP}-\"+.) | join(\" \")")
128
-INI=$(echo "${JOB}" | jq -r '.ini | join("\n")')
+INI=$(echo "${JOB}" | jq -r '.ini | join("{NL}")')
129
DEPS=$(echo "${JOB}" | jq -r '.dependencies')
130
131
if [[ "${EXTENSIONS}" != "" ]];then
@@ -151,7 +151,7 @@ fi
151
152
if [[ "${INI}" != "" ]];then
153
echo "Installing php.ini settings"
154
- echo $INI > /etc/php/${PHP}/cli/conf.d/99-settings.ini
+ echo $INI | sed "s/{NL}/\n/g" > /etc/php/${PHP}/cli/conf.d/99-settings.ini
155
156
157
echo "Marking PHP ${PHP} as configured default"
0 commit comments