diff --git a/Dockerfiles/mods/Dockerfile-7.0 b/Dockerfiles/mods/Dockerfile-7.0 index 03ad543..d3449c4 100644 --- a/Dockerfiles/mods/Dockerfile-7.0 +++ b/Dockerfiles/mods/Dockerfile-7.0 @@ -236,6 +236,7 @@ RUN set -x \ # ---- Installing PHP Extension: memcache ---- && git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \ && cd /tmp/memcache \ + && git checkout origin/php7 \ && phpize \ && ./configure --with-zlib-dir=/usr \ && make -j$(getconf _NPROCESSORS_ONLN) \ diff --git a/Dockerfiles/mods/Dockerfile-7.1 b/Dockerfiles/mods/Dockerfile-7.1 index 914ab3a..b3ad153 100644 --- a/Dockerfiles/mods/Dockerfile-7.1 +++ b/Dockerfiles/mods/Dockerfile-7.1 @@ -236,6 +236,7 @@ RUN set -x \ # ---- Installing PHP Extension: memcache ---- && git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \ && cd /tmp/memcache \ + && git checkout origin/php7 \ && phpize \ && ./configure --with-zlib-dir=/usr \ && make -j$(getconf _NPROCESSORS_ONLN) \ diff --git a/Dockerfiles/mods/Dockerfile-7.2 b/Dockerfiles/mods/Dockerfile-7.2 index 937158f..9a6db9f 100644 --- a/Dockerfiles/mods/Dockerfile-7.2 +++ b/Dockerfiles/mods/Dockerfile-7.2 @@ -237,6 +237,7 @@ RUN set -x \ # ---- Installing PHP Extension: memcache ---- && git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \ && cd /tmp/memcache \ + && git checkout origin/php7 \ && phpize \ && ./configure --with-zlib-dir=/usr \ && make -j$(getconf _NPROCESSORS_ONLN) \ diff --git a/build/ansible/group_vars/all.yml b/build/ansible/group_vars/all.yml index f5011e1..404b2e5 100644 --- a/build/ansible/group_vars/all.yml +++ b/build/ansible/group_vars/all.yml @@ -1121,14 +1121,17 @@ extensions_available: 7.0: type: git git_url: https://github.com/websupport-sk/pecl-memcache + git_ref: origin/php7 configure: --with-zlib-dir=/usr 7.1: type: git git_url: https://github.com/websupport-sk/pecl-memcache + git_ref: origin/php7 configure: --with-zlib-dir=/usr 7.2: type: git git_url: https://github.com/websupport-sk/pecl-memcache + git_ref: origin/php7 configure: --with-zlib-dir=/usr all: type: pecl