Skip to content

Commit cea23ab

Browse files
authored
Merge pull request #578 from mu1f407/php-84
Build for PHP 8.4 and update libraries
2 parents 22ad750 + 1656f0c commit cea23ab

File tree

47 files changed

+102
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+102
-64
lines changed

.github/workflows/blackfire.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up PHP
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: 7.4
16+
php-version: 8.4
1717
coverage: none
1818

1919
- name: Checkout code
@@ -26,7 +26,7 @@ jobs:
2626
id: fetch_version
2727
run: |
2828
cd layers/blackfire;
29-
for VERSION in 80 81 82; do
29+
for VERSION in 80 81 82 83 84; do
3030
BF_AGENT_VERSION=$(curl -s -o probe -D - https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$VERSION | grep -i 'X-Blackfire-Release-Version: ' | sed "s%X-Blackfire-Release-Version: %%I" | sed s%.$%%);
3131
php ./store.php $VERSION $BF_AGENT_VERSION;
3232
done

layers/amqp/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ RUN mkdir -p ${AMQP_BUILD_DIR}
99

1010
# Compile rabbitmq
1111
WORKDIR ${AMQP_BUILD_DIR}
12+
# Currently it is not possible to use newer rabbitmq-c version than 0.13.0 because this is
13+
# last version which supports CMake 3.17 which is latest available version in Amazon Linux 2.
1214
RUN curl -Ls -o rabbitmq-c.tar.gz https://github.com/alanxz/rabbitmq-c/archive/refs/tags/v0.13.0.tar.gz
1315
RUN tar xzf rabbitmq-c.tar.gz
1416
WORKDIR ${AMQP_BUILD_DIR}/rabbitmq-c-0.13.0
@@ -19,7 +21,7 @@ RUN cmake --build . --target install
1921
WORKDIR ${AMQP_BUILD_DIR}
2022
RUN git clone https://github.com/php-amqp/php-amqp
2123
WORKDIR ${AMQP_BUILD_DIR}/php-amqp
22-
RUN git reset --hard 618e06ad2ef867598831cdd3faadba0dd65be917
24+
RUN git checkout v2.1.2
2325
RUN phpize
2426
RUN ./configure
2527
RUN make -j $(nproc)

layers/amqp/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"80",
44
"81",
55
"82",
6-
"83"
6+
"83",
7+
"84"
78
]
89
}

layers/blackfire/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"80",
44
"81",
55
"82",
6-
"83"
6+
"83",
7+
"84"
78
]
89
}

layers/bsdiff/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"80",
44
"81",
55
"82",
6-
"83"
6+
"83",
7+
"84"
78
]
89
}

layers/calendar/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"80",
44
"81",
55
"82",
6-
"83"
6+
"83",
7+
"84"
78
]
89
}

layers/datadog/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ ENV DDTRACE_BUILD_DIR=${BUILD_DIR}/ddtrace
77
RUN set -xe; \
88
mkdir -p ${DDTRACE_BUILD_DIR}; \
99
curl -Ls -o ${DDTRACE_BUILD_DIR}/datadog-setup.php \
10-
https://github.com/DataDog/dd-trace-php/releases/download/0.96.0/datadog-setup.php
10+
https://github.com/DataDog/dd-trace-php/releases/download/1.5.1/datadog-setup.php
1111

1212
WORKDIR ${DDTRACE_BUILD_DIR}
1313

1414
RUN php datadog-setup.php --php-bin=all --enable-profiling
1515

1616
RUN cp "$(php-config --extension-dir)/ddtrace.so" /tmp/ddtrace.so && \
1717
cp "$(php-config --extension-dir)/datadog-profiling.so" /tmp/datadog-profiling.so && \
18-
cp "$(php-config --ini-dir)/98-ddtrace.ini" /tmp/ext.ini
18+
cp "$(php-config --ini-dir | cut -d: -f1)/98-ddtrace.ini" /tmp/ext.ini
1919

2020
RUN sed -i 's/extension = ddtrace\.so/extension = \/opt\/bref-extra\/ddtrace.so/' /tmp/ext.ini && \
2121
sed -i 's/extension = datadog-profiling\.so/extension = \/opt\/bref-extra\/datadog-profiling.so/' /tmp/ext.ini && \

layers/datadog/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"80",
44
"81",
55
"82",
6-
"83"
6+
"83",
7+
"84"
78
]
89
}

layers/decimal/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"80",
44
"81",
55
"82",
6-
"83"
6+
"83",
7+
"84"
78
]
89
}

layers/ds/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"80",
44
"81",
55
"82",
6-
"83"
6+
"83",
7+
"84"
78
]
89
}

0 commit comments

Comments
 (0)