Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3

- name: Scan for secrets in repository
uses: aquasecurity/trivy-action@0.35.0
uses: aquasecurity/trivy-action@v0.36.0
with:
scan-type: 'fs'
trivy-config: .trivy/trivy.yaml
2 changes: 1 addition & 1 deletion .github/workflows/trufflehog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Secret Scanning
id: trufflehog_scan
uses: trufflesecurity/trufflehog@v3.82.8
uses: trufflesecurity/trufflehog@v3.97.4
with:
path: ./
base: "${{ github.event.repository.default_branch }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
docker run --rm trufflesecurity/trufflehog:latest docker --image spryker/php:${{ matrix.tags }} --only-verified

- name: Scan Docker image with Trivy
uses: aquasecurity/trivy-action@0.35.0
uses: aquasecurity/trivy-action@v0.36.0
with:
image-ref: "spryker/php:${{ matrix.tags }}"
exit-code: '1'
Expand Down
30 changes: 20 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ FROM spryker/php:8.2
RUN mv /usr/local/etc/php/disabled/tideways.ini /usr/local/etc/php/conf.d/90-tideways.ini
```

### Enable XLSX (xlswriter)
`xlswriter` is built into every image but stays disabled by default. Enable it when the application reads or writes XLSX files.
```dockerfile
FROM spryker/php:8.2

RUN mv /usr/local/etc/php/disabled/xlswriter.ini /usr/local/etc/php/conf.d/90-xlswriter.ini
```

## PHP extensions

```
Expand Down Expand Up @@ -189,22 +197,24 @@ Disabled extensions
[ ] pcov 1.0.12
[ ] tideways 5.42.0-d1af5cc
[ ] xhprof 2.3.10
[ ] xlswriter 3.0.0

INSTALLED PACKAGES, CHANNEL PECL.PHP.NET:
=========================================
PACKAGE VERSION STATE
amqp 2.2.0 stable
apcu 5.1.28 stable
excimer 1.2.6 stable
imagick 3.8.1 stable
pcov 1.0.12 stable
redis 6.3.0 stable
xdebug 3.5.3 stable
xhprof 2.3.10 stable
PACKAGE VERSION STATE
amqp 2.2.0 stable
apcu 5.1.28 stable
excimer 1.2.6 stable
imagick 3.8.1 stable
pcov 1.0.12 stable
redis 6.3.0 stable
xdebug 3.5.3 stable
xhprof 2.3.10 stable
xlswriter 3.0.0 stable

Composer
====================
Composer version 2.10.2 2026-07-01 11:24:45
Composer version 2.10.3 2026-08-27 13:34:23
```
##### Run the following to get the report
```bash
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.21/8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.2.29
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.21

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.87.1
ARG BLACKFIRE_PHP_VERSION=82
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.21/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.3.28
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.21

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=83
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.21/8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.4.15
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.21

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=84
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.22/8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.2.31
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.22

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.87.1
ARG BLACKFIRE_PHP_VERSION=82
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.22/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.3.31
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.22

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=83
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.22/8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.4.22
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.22

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=84
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.23/8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.2.33
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.23

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.87.1
ARG BLACKFIRE_PHP_VERSION=82
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.23/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.3.33
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.23

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=83
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.23/8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.4.25
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.23

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=84
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.24/8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.2.33
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.24

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.87.1
ARG BLACKFIRE_PHP_VERSION=82
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.24/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.3.33
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.24

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=83
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.24/8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.4.25
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.24

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=84
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -75,7 +75,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
5 changes: 3 additions & 2 deletions alpine/3.24/8.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG SPRYKER_PHP_VERSION=8.5.10
FROM php:${SPRYKER_PHP_VERSION}-fpm-alpine3.24

ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.53
ARG BLACKFIRE_PHP_VERSION=85
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -76,7 +76,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
xhprof \
excimer \
amqp \
imagick"
imagick \
xlswriter"

ARG GRAPHVIZ_BUILD_DEPS="\
expat-dev"
Expand Down
2 changes: 2 additions & 0 deletions context/php/disabled/xlswriter.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[xlswriter]
extension = xlswriter.so
5 changes: 3 additions & 2 deletions debian/bookworm/8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM php:${SPRYKER_PHP_VERSION}-fpm-bookworm

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.87.1
ARG BLACKFIRE_PHP_VERSION=82
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -80,7 +80,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
grpc \
protobuf \
opentelemetry \
imagick"
imagick \
xlswriter"

ARG CFLAGS="-I/usr/src/php"
RUN apt update -y \
Expand Down
5 changes: 3 additions & 2 deletions debian/bookworm/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM php:${SPRYKER_PHP_VERSION}-fpm-bookworm

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=83
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -80,7 +80,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
grpc \
protobuf \
opentelemetry \
imagick"
imagick \
xlswriter"

ARG CFLAGS="-I/usr/src/php"
RUN apt update -y \
Expand Down
5 changes: 3 additions & 2 deletions debian/bookworm/8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM php:${SPRYKER_PHP_VERSION}-fpm-bookworm

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG TARGETPLATFORM
ARG COMPOSER_VERSION=2.10.2
ARG COMPOSER_VERSION=2.10.3
ARG BLACKFIRE_VERSION=1.92.48
ARG BLACKFIRE_PHP_VERSION=84
ARG NEWRELIC_VERSION=12.10.0.39
Expand Down Expand Up @@ -81,7 +81,8 @@ ARG ADDITIONAL_PHP_PECL_EXTENSIONS="\
grpc \
protobuf \
opentelemetry \
imagick"
imagick \
xlswriter"

ARG CFLAGS="-I/usr/src/php"
RUN apt update -y \
Expand Down
Loading
Loading