Skip to content

Commit c0ef92e

Browse files
authored
Merge pull request #35 from fontebasso/php8
fix CVE-2022-48303
2 parents 0e5c57f + c1ebe98 commit c0ef92e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/docker-monitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
schedule:
3-
- cron: '*/10 * * * *' # every 10 minutes
3+
- cron: '@daily'
44
push:
55
branches:
66
- main

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ RUN set -ex; \
6262
docker-php-ext-enable --ini-name docker-php-ext-x-06-protobuf.ini protobuf; \
6363
ln -sf /dev/stdout /var/log/nginx/access.log; \
6464
ln -sf /dev/stderr /var/log/nginx/error.log; \
65-
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini";
65+
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"; \
66+
apk upgrade tar;
6667

6768
COPY ./src /
6869
COPY ./custom_params.ini /usr/local/etc/php/conf.d/docker-php-ext-x-02-custom-params.ini

0 commit comments

Comments
 (0)