mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
* Add PHP extensions binary classifiers Signed-off-by: Laurent Goderre <laurent.goderre@docker.com> * [wip] add php extensions cataloger Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix linting Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * find interpreters + extension Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * internalize binary cataloger utilities Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * default to linux/amd64 for test fixtures Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Laurent Goderre <laurent.goderre@docker.com> Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
12 lines
345 B
Docker
12 lines
345 B
Docker
FROM --platform=linux/amd64 httpd:2.4.63-bookworm AS builder
|
|
|
|
RUN apt update -y && apt install -y libapache2-mod-php php8.2-memcache php8.2-memcache php8.2-xml php8.2-mysqli php8.2-opcache
|
|
|
|
FROM busybox:latest
|
|
|
|
# phplib.so
|
|
COPY --from=builder /usr/lib/apache2/ /usr/lib/apache2/
|
|
|
|
# php extensions
|
|
COPY --from=builder /usr/lib/php/ /usr/lib/php/
|