Redis module, PEAR + PECL added into PHP
This commit is contained in:
parent
3f09d038ea
commit
71de1952bd
@ -14,7 +14,7 @@ imagemagick libmagickwand-dev ncdu \
|
|||||||
libcurl4-openssl-dev python3 python3-pip python3-virtualenv \
|
libcurl4-openssl-dev python3 python3-pip python3-virtualenv \
|
||||||
libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \
|
libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \
|
||||||
imagemagick ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \
|
imagemagick ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \
|
||||||
whiptail tmux
|
whiptail tmux rsync nmap
|
||||||
|
|
||||||
WORKDIR /srv
|
WORKDIR /srv
|
||||||
|
|
||||||
|
4
Makefile
4
Makefile
@ -1,15 +1,17 @@
|
|||||||
DOCKER=docker
|
DOCKER=docker
|
||||||
VERSION=2020.02
|
VERSION=2020.02-2
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
$(DOCKER) pull debian:buster
|
||||||
$(DOCKER) build -t rosti/runtime:dev .
|
$(DOCKER) build -t rosti/runtime:dev .
|
||||||
|
|
||||||
test: build
|
test: build
|
||||||
DOCKER=$(DOCKER) ./tests.sh
|
DOCKER=$(DOCKER) ./tests.sh
|
||||||
|
|
||||||
squashed:
|
squashed:
|
||||||
|
$(DOCKER) pull debian:buster
|
||||||
$(DOCKER) build --squash -t rosti/runtime:dev-squashed .
|
$(DOCKER) build --squash -t rosti/runtime:dev-squashed .
|
||||||
|
|
||||||
push: squashed
|
push: squashed
|
||||||
|
@ -62,9 +62,14 @@ cd php-$VERSION
|
|||||||
--with-imap \
|
--with-imap \
|
||||||
--with-imap-ssl \
|
--with-imap-ssl \
|
||||||
--with-kerberos \
|
--with-kerberos \
|
||||||
--with-soapclient
|
--with-soapclient \
|
||||||
|
--with-pear
|
||||||
make -j
|
make -j
|
||||||
make install
|
make install
|
||||||
|
|
||||||
mkdir -p /opt/techs/php-$VERSION/etc/conf.d/
|
mkdir -p /opt/techs/php-$VERSION/etc/conf.d/
|
||||||
ln -s /srv/conf/php-fpm/php.ini /opt/techs/php-$VERSION/etc/conf.d/app.ini
|
ln -s /srv/conf/php-fpm/php.ini /opt/techs/php-$VERSION/etc/conf.d/app.ini
|
||||||
|
|
||||||
|
echo "no" | /opt/techs/php-$VERSION/bin/pecl install redis
|
||||||
|
|
||||||
|
echo "extension=redis.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user