Merge pull request #2917 from PavelSavushkinMix/fix/memcached_extension
feat(MEMCACHED extension): add memcached extension installation for CI
This commit is contained in:
commit
1fa380d90a
1
.github/workflows/main-ci.yml
vendored
1
.github/workflows/main-ci.yml
vendored
@ -33,7 +33,6 @@ jobs:
|
|||||||
sed -i -- 's/PHALCON=true/PHALCON=false/g' .env
|
sed -i -- 's/PHALCON=true/PHALCON=false/g' .env
|
||||||
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
|
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
|
||||||
sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env
|
sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env
|
||||||
sed -i -- 's/MEMCACHED=true/MEMCACHED=false/g' .env
|
|
||||||
sed -i -- 's/OCI8=true/OCI8=false/g' .env
|
sed -i -- 's/OCI8=true/OCI8=false/g' .env
|
||||||
sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env
|
sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env
|
||||||
sed -i -- 's/V8JS=true/V8JS=false/g' .env
|
sed -i -- 's/V8JS=true/V8JS=false/g' .env
|
||||||
|
@ -507,9 +507,9 @@ ARG INSTALL_MEMCACHED=false
|
|||||||
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
||||||
# Install the php memcached extension
|
# Install the php memcached extension
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install memcached-2.2.0; \
|
echo '' | pecl -q install memcached-2.2.0; \
|
||||||
else \
|
else \
|
||||||
pecl install memcached-3.1.3; \
|
echo '' | pecl -q install memcached; \
|
||||||
fi \
|
fi \
|
||||||
&& docker-php-ext-enable memcached \
|
&& docker-php-ext-enable memcached \
|
||||||
;fi
|
;fi
|
||||||
|
Loading…
Reference in New Issue
Block a user