Skip to content

Commit 7ffd713

Browse files
committed
Enable PHP 8.2 blackfire
1 parent 31ee623 commit 7ffd713

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

php/Dockerfile-8.2

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,13 @@ RUN EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)
146146
rm composer-setup.php && \
147147
exit $RESULT
148148

149-
#RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
150-
# && architecture=$(case $(uname -m) in i386 | i686 | x86) echo "i386" ;; x86_64 | amd64) echo "amd64" ;; aarch64 | arm64 | armv8) echo "arm64" ;; *) echo "amd64" ;; esac) \
151-
# && curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/alpine/$architecture/$version \
152-
# && mkdir -p /tmp/blackfire \
153-
# && tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \
154-
# && mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get ('extension_dir');")/blackfire.so \
155-
# && rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
149+
RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
150+
&& architecture=$(case $(uname -m) in i386 | i686 | x86) echo "i386" ;; x86_64 | amd64) echo "amd64" ;; aarch64 | arm64 | armv8) echo "arm64" ;; *) echo "amd64" ;; esac) \
151+
&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/alpine/$architecture/$version \
152+
&& mkdir -p /tmp/blackfire \
153+
&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \
154+
&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get ('extension_dir');")/blackfire.so \
155+
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
156156

157157
#RUN if [ "$ATATUS_ENABLED" == "TRUE" ]; then \
158158
# # Atatus

0 commit comments

Comments
 (0)