Fix build of PHP-FPM 7.4 snmp module

This commit is contained in:
cytopia
2020-03-18 07:13:11 +01:00
parent 186bf71519
commit ffc8df1906
3 changed files with 13 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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