Skip to content

Commit 076cb74

Browse files
authored
Merge branch 'latest' into dependabot/github_actions/dot-github/workflows/gittools/actions-4.1.0
2 parents 413a88d + 5fd95b0 commit 076cb74

File tree

7 files changed

+20
-15
lines changed

7 files changed

+20
-15
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0
2626

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: Install ShellCheck
1717
run: sudo apt-get install -y shellcheck
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030

3131
- name: Install hadolint
3232
run: |
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949

5050
- name: Install yamllint
5151
run: |

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
with:
3131
fetch-depth: 0
3232

@@ -128,7 +128,7 @@ jobs:
128128

129129
steps:
130130
- name: Checkout code
131-
uses: actions/checkout@v4
131+
uses: actions/checkout@v5
132132
with:
133133
fetch-depth: 0
134134

@@ -138,7 +138,7 @@ jobs:
138138
git config --global user.name "UDX Worker PHP"
139139
140140
- name: Download SBOM Artifact
141-
uses: actions/download-artifact@v4
141+
uses: actions/download-artifact@v5
142142
with:
143143
name: sbom
144144

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Use the UDX worker as the base image
2-
FROM usabilitydynamics/udx-worker:0.24.0
2+
FROM usabilitydynamics/udx-worker:0.27.0
33

44
# Add metadata labels
55
LABEL maintainer="UDX"
6-
LABEL version="0.23.0"
6+
LABEL version="0.24.0"
77

88
# Arguments and Environment Variables
99
ARG PHP_VERSION=8.4
1010
ARG PHP_PACKAGE_VERSION=8.4.5-1ubuntu1.1
11-
ARG NGINX_VERSION=1.26.3-2ubuntu1.1
11+
ARG NGINX_VERSION=1.26.3-2ubuntu1.2
1212

1313
# Set the PHP_VERSION and PHP_PACKAGE_VERSION as environment variables
1414
ENV PHP_VERSION="${PHP_VERSION}"
@@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2828
php"${PHP_VERSION}"-curl="${PHP_PACKAGE_VERSION}" \
2929
php"${PHP_VERSION}"-xml="${PHP_PACKAGE_VERSION}" \
3030
php"${PHP_VERSION}"-zip="${PHP_PACKAGE_VERSION}" \
31-
mysql-client=8.4.5-0ubuntu0.2 && \
31+
mysql-client=8.4.6-0ubuntu0.25.04.3 && \
3232
apt-get clean && \
3333
rm -rf /tmp/* /var/tmp/* && \
3434
mkdir -p /etc/apt/sources.list.d && \
@@ -53,7 +53,7 @@ RUN sed -i "s|\${PHP_VERSION}|${PHP_VERSION}|g" /etc/nginx/snippets/fastcgi-php"
5353
echo "include=/etc/php/${PHP_VERSION}/fpm/pool.d/*.conf" >> /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf
5454

5555
# Set PHP-FPM socket permissions in the configuration
56-
RUN sed -i "s|^error_log =.*|error_log = /var/log/php/fpm.log|" /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf && \
56+
RUN sed -i "s|^error_log =.*|error_log = /dev/stderr|" /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf && \
5757
sed -i "s|^listen.owner =.*|listen.owner = ${USER}|" /etc/php/"${PHP_VERSION}"/fpm/pool.d/www.conf && \
5858
sed -i "s|^listen.group =.*|listen.group = ${USER}|" /etc/php/"${PHP_VERSION}"/fpm/pool.d/www.conf && \
5959
sed -i "s|^listen.mode =.*|listen.mode = 0660|" /etc/php/"${PHP_VERSION}"/fpm/pool.d/www.conf && \

bin/start-php-fpm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ echo " Error log ${PHP_ERROR_LOG}"
6060

6161
# Start PHP-FPM
6262
echo " * Starting PHP-FPM..."
63-
exec php-fpm"${PHP_VERSION}" --nodaemonize --fpm-config "${PHP_FPM_CONFIG}"
63+
exec php-fpm"${PHP_VERSION}" --nodaemonize --fpm-config "${PHP_FPM_CONFIG}" 2>&1

etc/configs/php/php-fpm.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[global]
2-
error_log = /var/log/php/fpm.log
2+
; Send PHP-FPM logs to stderr
3+
error_log = /dev/stderr
4+
include=/etc/php/${PHP_VERSION}/fpm/pool.d/*.conf

etc/configs/php/www.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ pm = dynamic
88
pm.max_children = 5
99
pm.start_servers = 2
1010
pm.min_spare_servers = 1
11-
pm.max_spare_servers = 3
11+
pm.max_spare_servers = 3
12+
13+
; Capture PHP worker output (including error_log) and send to FPM error log
14+
catch_workers_output = yes

0 commit comments

Comments
 (0)