From ffc8df1906a69b805c9a18197036b4f56d6d201c Mon Sep 17 00:00:00 2001 From: cytopia Date: Wed, 18 Mar 2020 07:13:11 +0100 Subject: [PATCH] Fix build of PHP-FPM 7.4 snmp module --- CHANGELOG.md | 7 +++++++ Dockerfiles/mods/Dockerfile-7.4 | 5 ++--- build/ansible/group_vars/all/mods.yml | 4 ++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6d87ae8..3e8159de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ ## Unreleased +## Release 0.106 + +#### Fixed +- [#153](https://github.com/devilbox/docker-php-fpm/pull/153) Use numeric order for startup files +- Fix build of PHP-FPM 7.4 snmp module + + ## Release 0.105 #### Fixed diff --git a/Dockerfiles/mods/Dockerfile-7.4 b/Dockerfiles/mods/Dockerfile-7.4 index da001f62..007f7061 100644 --- a/Dockerfiles/mods/Dockerfile-7.4 +++ b/Dockerfiles/mods/Dockerfile-7.4 @@ -504,10 +504,9 @@ RUN set -eux \ # -------------------- Installing PHP Extension: snmp -------------------- RUN set -eux \ - # Installation: Generic + # Installation: Version specific # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure snmp --with-openssl-dir \ + # Installation && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && true diff --git a/build/ansible/group_vars/all/mods.yml b/build/ansible/group_vars/all/mods.yml index 7d7c6ae8..dace7934 100644 --- a/build/ansible/group_vars/all/mods.yml +++ b/build/ansible/group_vars/all/mods.yml @@ -861,6 +861,10 @@ extensions_available: simplexml: already_avail: "{{ php_all_versions }}" snmp: + 7.4: + type: builtin + build_dep: [libssl-dev, libsnmp-dev, snmp] + run_dep: [snmp] all: type: builtin configure: --with-openssl-dir